summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
diff options
context:
space:
mode:
authorEllie Hermaszewska <git@monoid.al>2021-10-26 18:20:34 +0800
committerEllie Hermaszewska <git@monoid.al>2021-11-07 20:18:45 +0800
commit15ae25f36ce057c1750f02e30bcd7b6dc38d523b (patch)
treeb185f546a252ee953c0902803bb9fd8a692b33c7 /pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
parent518f09f2d0e8829c3ef77c0f535df309f49ed6d9 (diff)
downloadnixpkgs-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar
nixpkgs-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.gz
nixpkgs-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.bz2
nixpkgs-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.lz
nixpkgs-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.xz
nixpkgs-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.tar.zst
nixpkgs-15ae25f36ce057c1750f02e30bcd7b6dc38d523b.zip
haskell: switch from haskell.lib to haskell.lib.compose
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
index 99b53b9f14f..72df46f393e 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
@@ -90,13 +90,13 @@ self: super: {
   haddock-library_1_7_0 = dontCheck super.haddock-library_1_7_0;
 
   # ghc versions prior to 8.8.x needs 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;
 
   # This became a core library in ghc 8.10., so we don‘t have an "exception" attribute anymore.
   exceptions = super.exceptions_0_10_4;
 
   # 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;