diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2016-01-24 13:32:56 -0500 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2016-01-24 13:32:56 -0500 |
commit | 4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea (patch) | |
tree | 6991f37fba017042497ea034dea387a444d918f1 /pkgs/development/compilers/ghcjs | |
parent | 700e4aebdca96e6e81a5956de59ff16b8347e596 (diff) | |
download | nixpkgs-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar nixpkgs-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.gz nixpkgs-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.bz2 nixpkgs-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.lz nixpkgs-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.xz nixpkgs-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.zst nixpkgs-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.zip |
haskell-packages: properly set postPatch
The existing code overrode the postPatch, instead of combining the jailbreak commands with the user supplied postPatch.
Diffstat (limited to 'pkgs/development/compilers/ghcjs')
-rw-r--r-- | pkgs/development/compilers/ghcjs/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/development/compilers/ghcjs/default.nix b/pkgs/development/compilers/ghcjs/default.nix index 5d7b8d65b6a..5ddfdc41917 100644 --- a/pkgs/development/compilers/ghcjs/default.nix +++ b/pkgs/development/compilers/ghcjs/default.nix @@ -52,7 +52,7 @@ mkDerivation (rec { }; isLibrary = true; isExecutable = true; - jailbreak = false; # manually jailbreak, until postPatch in mkDerivation is fixed + jailbreak = true; doHaddock = false; doCheck = false; buildDepends = [ @@ -72,9 +72,6 @@ mkDerivation (rec { ]; patches = [ ./ghcjs.patch ]; postPatch = '' - echo "Run jailbreak-cabal to lift version restrictions on build inputs." - ${jailbreak-cabal}/bin/jailbreak-cabal ${pname}.cabal - substituteInPlace Setup.hs \ --replace "/usr/bin/env" "${coreutils}/bin/env" |