Unverified Commit 025cc46c authored by maralorn's avatar maralorn
Browse files

haskell-modules/generic-builder.nix: add gcc to generated shell

Fixes #335387
parent c0e8cb5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ 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;