summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/generic-builder.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2016-01-24 13:32:56 -0500
committerCharles Strahan <charles.c.strahan@gmail.com>2016-01-24 13:32:56 -0500
commit4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea (patch)
tree6991f37fba017042497ea034dea387a444d918f1 /pkgs/development/haskell-modules/generic-builder.nix
parent700e4aebdca96e6e81a5956de59ff16b8347e596 (diff)
downloadnixlib-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar
nixlib-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.gz
nixlib-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.bz2
nixlib-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.lz
nixlib-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.xz
nixlib-4fd985b9ae242c639fb2cfa4eafb20a8f79c7cea.tar.zst
nixlib-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/haskell-modules/generic-builder.nix')
-rw-r--r--pkgs/development/haskell-modules/generic-builder.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix
index ad820012bd1a..afd30c8283b1 100644
--- a/pkgs/development/haskell-modules/generic-builder.nix
+++ b/pkgs/development/haskell-modules/generic-builder.nix
@@ -299,7 +299,6 @@ stdenv.mkDerivation ({
 // optionalAttrs (configureFlags != []) { inherit configureFlags; }
 // optionalAttrs (patches != [])        { inherit patches; }
 // optionalAttrs (patchPhase != "")     { inherit patchPhase; }
-// optionalAttrs (postPatch != "")      { inherit postPatch; }
 // optionalAttrs (preConfigure != "")   { inherit preConfigure; }
 // optionalAttrs (postConfigure != "")  { inherit postConfigure; }
 // optionalAttrs (preBuild != "")       { inherit preBuild; }