From 5a64a05c666cc0fbabd4205c4382a47181d5af6d Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 6 Mar 2024 11:01:27 -0800 Subject: [PATCH] Avoid top-level `with ...;` in pkgs/top-level/release-r.nix --- pkgs/top-level/release-r.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/release-r.nix b/pkgs/top-level/release-r.nix index 4c715a7786d6..898436de8cc4 100644 --- a/pkgs/top-level/release-r.nix +++ b/pkgs/top-level/release-r.nix @@ -6,7 +6,13 @@ */ { supportedSystems ? [ "x86_64-linux" "aarch64-linux" ] }: -with import ./release-lib.nix { inherit supportedSystems; }; +let + inherit (import ./release-lib.nix { inherit supportedSystems; }) + mapTestOn + packagePlatforms + pkgs + ; +in mapTestOn { rPackages = packagePlatforms pkgs.rPackages;