ghcjs: don't use extension for haddock override
This commit is contained in:
parent
780ec20283
commit
289e33f852
@ -245,15 +245,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
packages_ghcjs =
|
packages_ghcjs =
|
||||||
let parent = packages_ghc784.override {
|
packages {
|
||||||
extension = self: super: {
|
ghc = let parent = packages_ghc784; in parent.ghcjs // { inherit parent; };
|
||||||
haddock = super.haddock.override {
|
|
||||||
Cabal = null;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in packages {
|
|
||||||
ghc = parent.ghcjs // { inherit parent; };
|
|
||||||
cabalPackage = import ../build-support/cabal/ghcjs.nix;
|
cabalPackage = import ../build-support/cabal/ghcjs.nix;
|
||||||
ghcWrapperPackage = import ../development/compilers/ghcjs/wrapper.nix;
|
ghcWrapperPackage = import ../development/compilers/ghcjs/wrapper.nix;
|
||||||
prefFun = self : super : super // {
|
prefFun = self : super : super // {
|
||||||
|
@ -940,6 +940,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||||||
ghcjs = callPackage ../development/tools/haskell/ghcjs {
|
ghcjs = callPackage ../development/tools/haskell/ghcjs {
|
||||||
Cabal = self.Cabal_1_22_0_0;
|
Cabal = self.Cabal_1_22_0_0;
|
||||||
cabalInstall = self.cabalInstall_1_22_0_0;
|
cabalInstall = self.cabalInstall_1_22_0_0;
|
||||||
|
haddock = self.haddock.override {
|
||||||
|
Cabal = null;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ghcjsDom = callPackage ../development/libraries/haskell/ghcjs-dom {};
|
ghcjsDom = callPackage ../development/libraries/haskell/ghcjs-dom {};
|
||||||
|
Loading…
Reference in New Issue
Block a user