summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-08-06 15:10:48 +0300
committerPeter Simons <simons@cryp.to>2015-08-19 11:01:47 +0200
commit1a590a618541d0eeff767280ec2c438e25ba820b (patch)
tree1a5a487bced4fa2810723e4fcb70ea2c07500a4f /pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
parentd8650d5d6c574c6f911be859b7fb48ccf3af0f09 (diff)
downloadnixpkgs-1a590a618541d0eeff767280ec2c438e25ba820b.tar
nixpkgs-1a590a618541d0eeff767280ec2c438e25ba820b.tar.gz
nixpkgs-1a590a618541d0eeff767280ec2c438e25ba820b.tar.bz2
nixpkgs-1a590a618541d0eeff767280ec2c438e25ba820b.tar.lz
nixpkgs-1a590a618541d0eeff767280ec2c438e25ba820b.tar.xz
nixpkgs-1a590a618541d0eeff767280ec2c438e25ba820b.tar.zst
nixpkgs-1a590a618541d0eeff767280ec2c438e25ba820b.zip
haskell: use postPatch instead of patchPhase where possible
Closes https://github.com/NixOS/nixpkgs/pull/9297.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
index a7bad53c749..ccc4aa54c28 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
@@ -85,8 +85,8 @@ self: super: {
 
   # https://github.com/magthe/sandi/issues/7
   sandi = overrideCabal super.sandi (drv: {
-    patchPhase = "sed -i -e 's|base ==4.8.*,|base,|' sandi.cabal"; }
-  );
+    postPatch = "sed -i -e 's|base ==4.8.*,|base,|' sandi.cabal";
+  });
 
   # blaze-builder requires an additional build input on older compilers.
   blaze-builder = addBuildDepend super.blaze-builder super.bytestring-builder;