1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

ghcjs: don't use extension for haddock override

This commit is contained in:
Charles Strahan 2014-12-27 23:10:07 -05:00
parent 780ec20283
commit 289e33f852
2 changed files with 5 additions and 9 deletions

View file

@ -245,15 +245,8 @@
};
packages_ghcjs =
let parent = packages_ghc784.override {
extension = self: super: {
haddock = super.haddock.override {
Cabal = null;
};
};
};
in packages {
ghc = parent.ghcjs // { inherit parent; };
packages {
ghc = let parent = packages_ghc784; in parent.ghcjs // { inherit parent; };
cabalPackage = import ../build-support/cabal/ghcjs.nix;
ghcWrapperPackage = import ../development/compilers/ghcjs/wrapper.nix;
prefFun = self : super : super // {

View file

@ -940,6 +940,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
ghcjs = callPackage ../development/tools/haskell/ghcjs {
Cabal = self.Cabal_1_22_0_0;
cabalInstall = self.cabalInstall_1_22_0_0;
haddock = self.haddock.override {
Cabal = null;
};
};
ghcjsDom = callPackage ../development/libraries/haskell/ghcjs-dom {};