diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2018-04-01 23:25:37 -0400 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2018-04-01 23:25:37 -0400 |
commit | 774253e56b3ef493266cd0b00f6e8ef0ab837f32 (patch) | |
tree | d5dcde4a5915836f38361dcbd9687e688a71d895 /pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix | |
parent | 71f28a2ca06f206f982a8eb9b50db4b2b284c550 (diff) | |
download | nixlib-774253e56b3ef493266cd0b00f6e8ef0ab837f32.tar nixlib-774253e56b3ef493266cd0b00f6e8ef0ab837f32.tar.gz nixlib-774253e56b3ef493266cd0b00f6e8ef0ab837f32.tar.bz2 nixlib-774253e56b3ef493266cd0b00f6e8ef0ab837f32.tar.lz nixlib-774253e56b3ef493266cd0b00f6e8ef0ab837f32.tar.xz nixlib-774253e56b3ef493266cd0b00f6e8ef0ab837f32.tar.zst nixlib-774253e56b3ef493266cd0b00f6e8ef0ab837f32.zip |
Fix GHCJS 7.10
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.nix | 11 |
1 files changed, 11 insertions, 0 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 c7e8d1798d23..15220c24b4f2 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -219,4 +219,15 @@ self: super: { chr-pretty = doJailbreak super.chr-pretty; chr-parse = doJailbreak super.chr-parse; + # The autogenerated Nix expressions don't take into + # account `if impl(ghc >= x.y)`, which is a common method to depend + # on `semigroups` or `fail` when building with GHC < 8.0. + system-filepath = addBuildDepend super.system-filepath self.semigroups; + haskell-src-exts = addBuildDepend super.haskell-src-exts self.semigroups; + free = addBuildDepend super.free self.fail; + + # Newer versions don't build without base-4.9 + resourcet = self.resourcet_1_1_11; + conduit = self.conduit_1_2_13_1; + } |