3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages: apply GHC specific overrides before GHCJS

GHCJS is effectively a backend for GHC, so all the GHC version specific package set overrides should in
general apply to the GHCJS package sets, too.
This commit is contained in:
Leon Isenberg 2017-03-05 17:13:27 +01:00
parent feab711f84
commit b9c7d291bc
2 changed files with 4 additions and 4 deletions

View file

@ -180,8 +180,6 @@ self: super:
] drv.libraryHaskellDepends;
});
semigroups = addBuildDepends super.semigroups [ self.hashable self.unordered-containers self.text self.tagged ];
transformers-compat = overrideCabal super.transformers-compat (drv: {
configureFlags = [];
});

View file

@ -161,11 +161,13 @@ in rec {
};
ghcjs = callPackage ../development/haskell-modules {
ghc = compiler.ghcjs;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghcjs.nix { };
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-7.10.x.nix { };
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghcjs.nix { };
};
ghcjsHEAD = callPackage ../development/haskell-modules {
ghc = compiler.ghcjsHEAD;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghcjs.nix { };
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.0.x.nix { };
packageSetConfig = callPackage ../development/haskell-modules/configuration-ghcjs.nix { };
};
# The integer-simple attribute set contains package sets for all the GHC compilers