mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
isabelle: fix build on MacOS
This commit is contained in:
parent
26c369214e
commit
698c7342b7
@ -69,13 +69,14 @@ in stdenv.mkDerivation (finalAttrs: rec {
|
||||
buildInputs = [ polyml veriT vampire eprover-ho nettools ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ java ];
|
||||
|
||||
sourceRoot = dirname;
|
||||
sourceRoot = "${dirname}${lib.optionalString stdenv.isDarwin ".app"}";
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = "bin/isabelle build -v HOL-SMT_Examples";
|
||||
|
||||
postUnpack = lib.optionalString stdenv.isDarwin ''
|
||||
mv $sourceRoot.app $sourceRoot
|
||||
mv $sourceRoot ${dirname}
|
||||
sourceRoot=${dirname}
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user