From 1a590a618541d0eeff767280ec2c438e25ba820b Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 6 Aug 2015 15:10:48 +0300 Subject: haskell: use postPatch instead of patchPhase where possible Closes https://github.com/NixOS/nixpkgs/pull/9297. --- pkgs/development/haskell-modules/configuration-ghc-nokinds.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/haskell-modules/configuration-ghc-nokinds.nix') diff --git a/pkgs/development/haskell-modules/configuration-ghc-nokinds.nix b/pkgs/development/haskell-modules/configuration-ghc-nokinds.nix index be78321b38a7..e62f21f135e8 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-nokinds.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-nokinds.nix @@ -65,10 +65,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"; }); # bos/attoparsec#92 -- cgit 1.4.1