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 51737c7 commit 82cda52Copy full SHA for 82cda52
builder/setup-builder.nix
@@ -19,8 +19,6 @@ let
19
20
fullName = "${name}-setup";
21
22
- includeGhcPackage = lib.any (p: p.identifier.name == "ghc") component.depends;
23
-
24
configFiles = makeSetupConfigFiles {
25
inherit (package) identifier;
26
inherit fullName flags component enableDWARF nonReinstallablePkgs;
@@ -80,8 +78,7 @@ let
80
78
for f in Setup.hs Setup.lhs; do
81
79
if [ -f $f ]; then
82
echo Compiling package $f
83
- ghc $f -threaded ${if includeGhcPackage then "-package ghc " else ""
84
- }-package-env $configFiles/ghc-environment --make -o ./Setup
+ ghc $f -threaded -package-env $configFiles/ghc-environment --make -o ./Setup
85
fi
86
done
87
[ -f ./Setup ] || (echo Failed to build Setup && exit 1)
0 commit comments