diff options
author | Philip Taron <philip.taron@gmail.com> | 2024-03-06 11:06:51 -0800 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2024-03-08 14:55:07 -0800 |
commit | 210c9eda8a5e6d1c06afaa66fa8b6214c74947f6 (patch) | |
tree | 640d024cd2572c38c8b1f3e28770321ffaf7356c /pkgs/top-level/release-small.nix | |
parent | 5a64a05c666cc0fbabd4205c4382a47181d5af6d (diff) |
Avoid top-level `with ...;` in pkgs/top-level/release-small.nix
Diffstat (limited to 'pkgs/top-level/release-small.nix')
-rw-r--r-- | pkgs/top-level/release-small.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/top-level/release-small.nix b/pkgs/top-level/release-small.nix index 30e0c188bb703..2b143248948fa 100644 --- a/pkgs/top-level/release-small.nix +++ b/pkgs/top-level/release-small.nix @@ -7,7 +7,13 @@ nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; } }: -with import ./release-lib.nix { inherit supportedSystems nixpkgsArgs; }; +let + release-lib = import ./release-lib.nix { + inherit supportedSystems nixpkgsArgs; + }; + + inherit (release-lib) all linux darwin mapTestOn unix; +in { |