haskell.compiler.ghcjs: pass fetchFromGitHub to ghcjs-base

Fixes evaluation of haskell.compiler.ghcjs.withPackages.

Reference #158600.
This commit is contained in:
sternenseemann 2022-04-05 12:50:04 +02:00
parent 2e8743b8e5
commit a964dcad73

View File

@ -19,7 +19,7 @@ self: super:
jailbreak-cabal alex happy gtk2hs-buildtools rehoo hoogle;
ghcjs-base = dontCheck (self.callPackage ../compilers/ghcjs/ghcjs-base.nix {
fetchgit = pkgs.buildPackages.fetchgit;
fetchFromGitHub = pkgs.buildPackages.fetchFromGitHub;
});
# GHCJS does not ship with the same core packages as GHC.