Avoid top-level `with ...;` in pkgs/top-level/release-r.nix

This commit is contained in:
Philip Taron 2024-03-06 11:01:27 -08:00
parent 8a034c526e
commit 5a64a05c66
No known key found for this signature in database
1 changed files with 7 additions and 1 deletions

View File

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