Merge pull request #102774 from gebner/fix-lean-build
lean: build olean files
This commit is contained in:
commit
0aaf9d6143
|
@ -15,9 +15,13 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ gmp ];
|
buildInputs = [ gmp ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = ''
|
cmakeDir = "../src";
|
||||||
cd 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 ''
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace $out/bin/leanpkg \
|
substituteInPlace $out/bin/leanpkg \
|
||||||
|
|
Loading…
Reference in New Issue