Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 81c5e310438d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0aaf9d61432d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 4, 2020

  1. lean: build olean files

    gebner committed Nov 4, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    dywedir Vlad M.
    Copy the full SHA
    8279979 View commit details
  2. Merge pull request #102774 from gebner/fix-lean-build

    lean: build olean files
    gebner authored Nov 4, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0aaf9d6 View commit details
Showing with 7 additions and 3 deletions.
  1. +7 −3 pkgs/applications/science/logic/lean/default.nix
10 changes: 7 additions & 3 deletions pkgs/applications/science/logic/lean/default.nix
Original file line number Diff line number Diff line change
@@ -15,9 +15,13 @@ stdenv.mkDerivation rec {
buildInputs = [ gmp ];
enableParallelBuilding = true;

preConfigure = ''
cd src
'';
cmakeDir = "../src";

# Running the tests is required to build the *.olean files for the core
# library.
doCheck = true;

postPatch = "patchShebangs .";

postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace $out/bin/leanpkg \