We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5e8e92 commit 64fed0eCopy full SHA for 64fed0e
builder/ghc-for-component-wrapper.nix
@@ -160,7 +160,7 @@ let
160
inherit script targetPrefix;
161
inherit (ghc) version meta;
162
};
163
- propagatedBuildInputs = configFiles.libDeps ++ [stdenv.cc ghc];
+ propagatedBuildInputs = configFiles.libDeps ++ lib.optional stdenv.hasCC stdenv.cc ++ [ghc];
164
} (''
165
mkdir -p $out/configFiles
166
configFiles=$out/configFiles
0 commit comments