haskellPackages.callCabal2nix: Use stdenvNoCC
Delays C compiler realisation to the actual build, which is more parallelizable; doesn't block the evaluator.
This commit is contained in:
parent
3473f50aff
commit
46bb6a78db
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ let
|
|||
haskellSrc2nix = { name, src, sha256 ? null, extraCabal2nixOptions ? "" }:
|
||||
let
|
||||
sha256Arg = if sha256 == null then "--sha256=" else ''--sha256="${sha256}"'';
|
||||
in buildPackages.stdenv.mkDerivation {
|
||||
in buildPackages.stdenvNoCC.mkDerivation {
|
||||
name = "cabal2nix-${name}";
|
||||
nativeBuildInputs = [ buildPackages.cabal2nix-unwrapped ];
|
||||
preferLocalBuild = true;
|
||||
|
|
Loading…
Reference in a new issue