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: c156dc70be7d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ec5a542c7225
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 4, 2020

  1. lean: build olean files

    (cherry picked from commit 8279979)
    gebner committed Nov 4, 2020
    Copy the full SHA
    ec5a542 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 \