summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.10.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.10.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.10.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
index cbc9ed32f76..2fd9b9c0fb0 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -90,10 +90,10 @@ self: super: {
 
   # Setup: At least the following dependencies are missing: base <4.8
   hspec-expectations = overrideCabal super.hspec-expectations (drv: {
-    patchPhase = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";
+    postPatch = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";
   });
   utf8-string = overrideCabal super.utf8-string (drv: {
-    patchPhase = "sed -i -e 's|base >= 3 && < 4.8|base|' utf8-string.cabal";
+    postPatch = "sed -i -e 's|base >= 3 && < 4.8|base|' utf8-string.cabal";
   });
   pointfree = doJailbreak super.pointfree;