diff options
author | John Wiegley <johnw@newartisans.com> | 2014-09-30 23:11:26 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-09-30 23:15:31 -0500 |
commit | 10e215a3ae1fc282809356f45c78ffece4525da7 (patch) | |
tree | 692580146e9e33c13b7096209dcbc52624b9899a /pkgs/applications | |
parent | 272c44f1a5769f1d93c4605d6a76fa502e3b4fe4 (diff) | |
download | nixpkgs-10e215a3ae1fc282809356f45c78ffece4525da7.tar nixpkgs-10e215a3ae1fc282809356f45c78ffece4525da7.tar.gz nixpkgs-10e215a3ae1fc282809356f45c78ffece4525da7.tar.bz2 nixpkgs-10e215a3ae1fc282809356f45c78ffece4525da7.tar.lz nixpkgs-10e215a3ae1fc282809356f45c78ffece4525da7.tar.xz nixpkgs-10e215a3ae1fc282809356f45c78ffece4525da7.tar.zst nixpkgs-10e215a3ae1fc282809356f45c78ffece4525da7.zip |
isabelle: Version 2014 building on Linux and Darwin
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/science/logic/isabelle/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/science/logic/isabelle/default.nix b/pkgs/applications/science/logic/isabelle/default.nix index 9659ee22930..88bbe820e2f 100644 --- a/pkgs/applications/science/logic/isabelle/default.nix +++ b/pkgs/applications/science/logic/isabelle/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, perl, nettools, polyml, proofgeneral }: +{ stdenv, fetchurl, perl, nettools, java, polyml, proofgeneral }: # nettools needed for hostname let @@ -21,7 +21,7 @@ stdenv.mkDerivation { }; buildInputs = [ perl polyml ] - ++ stdenv.lib.optional (!stdenv.isDarwin) nettools; + ++ stdenv.lib.optionals (!stdenv.isDarwin) [ nettools java ]; sourceRoot = dirname; @@ -35,10 +35,15 @@ stdenv.mkDerivation { substituteInPlace etc/settings \ --subst-var-by ML_HOME "${polyml}/bin" \ --subst-var-by PROOFGENERAL_HOME "${proofgeneral}/share/emacs/site-lisp/ProofGeneral" + substituteInPlace contrib/jdk/etc/settings \ + --replace ISABELLE_JDK_HOME= '#ISABELLE_JDK_HOME=' + substituteInPlace contrib/polyml-5.5.2-1/etc/settings \ + --replace 'ML_HOME="$POLYML_HOME/$ML_PLATFORM"' \ + "ML_HOME=\"${polyml}/bin\"" ''; buildPhase = '' - ./bin/isabelle build -s $theories + ISABELLE_JDK_HOME=${java} ./bin/isabelle build -s $theories ''; installPhase = '' |