Avoid top-level `with ...;` in pkgs/development/compilers/dotnet/combine-deps.nix

This commit is contained in:
Philip Taron 2024-03-14 12:24:05 -07:00 committed by Valentin Gagarin
parent f12b900550
commit 273a1531d2
1 changed files with 12 additions and 1 deletions

View File

@ -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);