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

This commit is contained in:
Philip Taron 2024-03-05 17:53:50 -08:00
parent f5f26f0bbc
commit f23c28ca41
No known key found for this signature in database

View File

@ -18,10 +18,15 @@
nixpkgsArgs ? { config = { allowUnfree = true; inHydra = true; }; }
}:
with import ./release-lib.nix {inherit supportedSystems nixpkgsArgs; };
with lib;
let
release-lib = import ./release-lib.nix {
inherit supportedSystems nixpkgsArgs;
};
inherit (release-lib) linux mapTestOn packagePlatforms pkgs;
inherit (release-lib.lib) genAttrs;
# Package sets to evaluate
packageSets = [
"cudaPackages_10_0"