forked from mirrors/nixpkgs
Replace deprecated uniqList with unique function
This commit is contained in:
parent
5d3680d265
commit
13a1ab440c
|
@ -46,12 +46,8 @@ stdenv.mkDerivation (attrs // {
|
|||
|
||||
configurePhase = let
|
||||
getDeps = drv: [drv] ++ (map getDeps drv.erlangDeps);
|
||||
recursiveDeps = uniqList {
|
||||
inputList = flatten (map getDeps erlangDeps);
|
||||
};
|
||||
recursivePluginsDeps = uniqList {
|
||||
inputList = flatten (map getDeps pluginDeps);
|
||||
};
|
||||
recursiveDeps = unique (flatten (map getDeps erlangDeps));
|
||||
recursivePluginsDeps = unique (flatten (map getDeps pluginDeps));
|
||||
in ''
|
||||
runHook preConfigure
|
||||
${concatMapStrings (dep: ''
|
||||
|
|
Loading…
Reference in a new issue