Avoid top-level `with ...;` in pkgs/development/compilers/dotnet/combine-deps.nix
This commit is contained in:
parent
f12b900550
commit
273a1531d2
|
@ -4,11 +4,22 @@
|
|||
otherRids,
|
||||
pkgs ? import ../../../.. {}
|
||||
}:
|
||||
with pkgs.lib;
|
||||
let
|
||||
inherit (pkgs) writeText;
|
||||
|
||||
inherit (pkgs.lib)
|
||||
concatMap
|
||||
concatMapStringsSep
|
||||
generators
|
||||
optionals
|
||||
replaceStrings
|
||||
sortOn
|
||||
strings
|
||||
unique
|
||||
;
|
||||
|
||||
fns = map (file: import file) list;
|
||||
|
||||
packages = unique
|
||||
(concatMap (fn: fn { fetchNuGet = package: package; }) fns);
|
||||
|
||||
|
|
Loading…
Reference in New Issue