diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index f59e9fc93c64..23dc5054a854 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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;