diff options
author | Ellie Hermaszewska <git@monoid.al> | 2021-10-26 18:20:34 +0800 |
---|---|---|
committer | Ellie Hermaszewska <git@monoid.al> | 2021-11-07 20:18:45 +0800 |
commit | 15ae25f36ce057c1750f02e30bcd7b6dc38d523b (patch) | |
tree | b185f546a252ee953c0902803bb9fd8a692b33c7 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | |
parent | 518f09f2d0e8829c3ef77c0f535df309f49ed6d9 (diff) | |
download | nixlib-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar nixlib-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.gz nixlib-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.bz2 nixlib-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.lz nixlib-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.xz nixlib-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.zst nixlib-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.zip |
haskell: switch from haskell.lib to haskell.lib.compose
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 25d8e44b4545..db7ae186b80f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -85,10 +85,10 @@ self: super: { vault = dontHaddock super.vault; # https://github.com/snapframework/snap-core/issues/288 - snap-core = overrideCabal super.snap-core (drv: { prePatch = "substituteInPlace src/Snap/Internal/Core.hs --replace 'fail = Fail.fail' ''"; }); + snap-core = overrideCabal (drv: { prePatch = "substituteInPlace src/Snap/Internal/Core.hs --replace 'fail = Fail.fail' ''"; }) super.snap-core; # Upstream ships a broken Setup.hs file. - csv = overrideCabal super.csv (drv: { prePatch = "rm Setup.hs"; }); + csv = overrideCabal (drv: { prePatch = "rm Setup.hs"; }) super.csv; # https://github.com/kowainik/relude/issues/241 relude = dontCheck super.relude; @@ -120,10 +120,10 @@ self: super: { # ghc versions which don‘t match the ghc-lib-parser-ex version need the # additional dependency to compile successfully. - ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex self.ghc-lib-parser; + ghc-lib-parser-ex = addBuildDepend self.ghc-lib-parser super.ghc-lib-parser-ex; # Older compilers need the latest ghc-lib to build this package. - hls-hlint-plugin = addBuildDepend super.hls-hlint-plugin self.ghc-lib; + hls-hlint-plugin = addBuildDepend self.ghc-lib super.hls-hlint-plugin; # vector 0.12.2 indroduced doctest checks that don‘t work on older compilers vector = dontCheck super.vector; |