mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
ghcjs: don't use extension for haddock override
This commit is contained in:
parent
780ec20283
commit
289e33f852
@ -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 // {
|
||||
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user