about summary refs log tree commit diff
path: root/pkgs/top-level/release-small.nix
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-03-06 11:06:51 -0800
committerPhilip Taron <philip.taron@gmail.com>2024-03-08 14:55:07 -0800
commit210c9eda8a5e6d1c06afaa66fa8b6214c74947f6 (patch)
tree640d024cd2572c38c8b1f3e28770321ffaf7356c /pkgs/top-level/release-small.nix
parent5a64a05c666cc0fbabd4205c4382a47181d5af6d (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.nix8
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
 
 {