Skip to content

Commit b445608

Browse files
committed
Revert our custom workaround
1 parent 3e0e9ca commit b445608

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

builder/ghc-for-component-wrapper.nix

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
let
2020
ghc = if enableDWARF then defaults.ghc.dwarf else defaults.ghc;
2121

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-
2722
inherit (configFiles) targetPrefix ghcCommand ghcCommandCaps packageCfgDir;
2823
libDir = "$wrappedGhc/${configFiles.libDir}";
2924
docDir = "$wrappedGhc/share/doc/ghc/html";
@@ -159,7 +154,7 @@ let
159154
inherit script targetPrefix;
160155
inherit (ghc) version meta;
161156
};
162-
propagatedBuildInputs = uniqueWithName configFiles.libDeps;
157+
propagatedBuildInputs = configFiles.libDeps;
163158
nativeBuildInputs = [ghc];
164159
} (''
165160
mkdir -p $out/configFiles

0 commit comments

Comments
 (0)