Replace deprecated uniqList with unique function

This commit is contained in:
Gleb Peregud 2015-12-12 08:23:33 +01:00
parent 5d3680d265
commit 13a1ab440c

View File

@ -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: ''