diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-08-06 15:10:48 +0300 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-08-19 11:01:47 +0200 |
commit | 1a590a618541d0eeff767280ec2c438e25ba820b (patch) | |
tree | 1a5a487bced4fa2810723e4fcb70ea2c07500a4f /pkgs/development/haskell-modules/configuration-ghc-nokinds.nix | |
parent | d8650d5d6c574c6f911be859b7fb48ccf3af0f09 (diff) | |
download | nixlib-1a590a618541d0eeff767280ec2c438e25ba820b.tar nixlib-1a590a618541d0eeff767280ec2c438e25ba820b.tar.gz nixlib-1a590a618541d0eeff767280ec2c438e25ba820b.tar.bz2 nixlib-1a590a618541d0eeff767280ec2c438e25ba820b.tar.lz nixlib-1a590a618541d0eeff767280ec2c438e25ba820b.tar.xz nixlib-1a590a618541d0eeff767280ec2c438e25ba820b.tar.zst nixlib-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-nokinds.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-nokinds.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 |