From a964dcad739fe70ed5e01646594aafdfb2be4560 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 5 Apr 2022 12:50:04 +0200 Subject: [PATCH] haskell.compiler.ghcjs: pass fetchFromGitHub to ghcjs-base Fixes evaluation of haskell.compiler.ghcjs.withPackages. Reference #158600. --- pkgs/development/haskell-modules/configuration-ghcjs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index 2bdf5cfbe51e..c6e0e6a2c053 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -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.