mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
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 New Issue
Block a user