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 acf4326 commit 476181fCopy full SHA for 476181f
builder/ghc-for-component-wrapper.nix
@@ -19,6 +19,11 @@
19
let
20
ghc = if enableDWARF then defaults.ghc.dwarf else defaults.ghc;
21
22
+ uniqueWithName = list:
23
+ lib.concatMap lib.unique (
24
+ builtins.attrValues (
25
+ builtins.groupBy (x: if __typeOf x == "set" then x.name or "noname" else "notset") list));
26
+
27
inherit (configFiles) targetPrefix ghcCommand ghcCommandCaps packageCfgDir;
28
libDir = "$wrappedGhc/${configFiles.libDir}";
29
docDir = "$wrappedGhc/share/doc/ghc/html";
@@ -154,7 +159,7 @@ let
154
159
inherit script targetPrefix;
155
160
inherit (ghc) version meta;
156
161
};
157
- # propagatedBuildInputs = configFiles.libDeps;
162
+ propagatedBuildInputs = uniqueWithName configFiles.libDeps;
158
163
nativeBuildInputs = [ghc];
164
} (''
165
mkdir -p $out/configFiles
0 commit comments