feat: Nix: add nativeSharedLibs option

* feat: Add nativeSharedLibs option

Use LD_PRELOAD with staticLibDeps

Add a verbose flag when debug is true

Use shared libs instead

feat: Add recursive nativeSharedLibs

Repair printPaths

Remove -v flag from lean call

feat: Use new load-dynlib option

Remove LD_PRELOAD

fix: Add allNativeSharedLibs to allLinkFlags

Trying to fix native linking

feat: Automatic link flags of nativeSharedLibs

fix: Add gmp to sharedLib buildInputs

* fix: Wrap executable files in a linker group

This is a bit slower but ensures that cycles or bad ordering of the
static lib dependencies is resolved.

* Convert allExternalDeps to a list

Breaking change if you depend on allExternalDeps being a attrset
1 file changed
tree: 43ea41c6a2d2323cc0a0a7e75959fa20860774d1
  1. .github/
  2. .vscode/
  3. doc/
  4. images/
  5. lean4-mode/
  6. nix/
  7. script/
  8. src/
  9. stage0/
  10. tests/
  11. tmp/
  12. .gitattributes
  13. .gitignore
  14. .gitmodules
  15. CMakeLists.txt
  16. CONTRIBUTING.md
  17. default.nix
  18. flake.lock
  19. flake.nix
  20. LICENSE
  21. LICENSES
  22. README.md
  23. shell.nix
README.md

This is the repository for Lean 4, which is currently being released as milestone releases towards a first stable release. Lean 3 is still the latest stable release.

About

Installation

See Setting Up Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.