Avoid `with lib;` at the top level in pkgs/top-level/release-cuda.nix

+8 -3
+8 -3
pkgs/top-level/release-cuda.nix
··· 18 18 nixpkgsArgs ? { config = { allowUnfree = true; inHydra = true; }; } 19 19 }: 20 20 21 - with import ./release-lib.nix {inherit supportedSystems nixpkgsArgs; }; 22 - with lib; 21 + let 22 + release-lib = import ./release-lib.nix { 23 + inherit supportedSystems nixpkgsArgs; 24 + }; 25 + 26 + inherit (release-lib) linux mapTestOn packagePlatforms pkgs; 27 + 28 + inherit (release-lib.lib) genAttrs; 23 29 24 - let 25 30 # Package sets to evaluate 26 31 packageSets = [ 27 32 "cudaPackages_10_0"