Merge pull request #336343 from NixOS/haskell-modules-generic-builder-nix-add-gcc-to-generated-shell

haskell-modules/generic-builder.nix: add gcc to generated shell
This commit is contained in:
Philip Taron
2024-08-21 09:35:35 -07:00
committed by GitHub
@@ -1,5 +1,5 @@
{ lib, stdenv, buildPackages, buildHaskellPackages, ghc
, jailbreak-cabal, hscolour, cpphs, runCommand
, jailbreak-cabal, hscolour, cpphs, runCommandCC
, ghcWithHoogle, ghcWithPackages
, nodejs
}:
@@ -790,7 +790,7 @@ stdenv.mkDerivation ({
lib.optionals (!isCross) setupHaskellDepends);
ghcCommandCaps = lib.toUpper ghcCommand';
in runCommand name {
in runCommandCC name {
inherit shellHook;
depsBuildBuild = lib.optional isCross ghcEnvForBuild;