4 This release file will not be tested on hydra.nixos.org
5 because it requires unfree software.
7 Test for example like this:
9 $ hydra-eval-jobs pkgs/top-level/release-cuda.nix --option restrict-eval false -I foo=. --arg nixpkgs '{ outPath = ./.; revCount = 0; shortRev = "aabbcc"; }'
13 { # The platforms for which we build Nixpkgs.
17 , # Attributes passed to nixpkgs.
18 nixpkgsArgs ? { config = { allowUnfree = true; inHydra = true; }; }
22 release-lib = import ./release-lib.nix {
23 inherit supportedSystems nixpkgsArgs;
26 inherit (release-lib) linux mapTestOn packagePlatforms pkgs;
28 inherit (release-lib.lib) genAttrs;
30 # Package sets to evaluate
47 evalPackageSet = pset: mapTestOn { ${pset} = packagePlatforms pkgs.${pset}; };
50 # Packages to evaluate
51 python3.pkgs.caffeWithCuda = linux;
52 python3.pkgs.jaxlibWithCuda = linux;
53 python3.pkgs.libgpuarray = linux;
54 python3.pkgs.tensorflowWithCuda = linux;
55 python3.pkgs.pyrealsense2WithCuda = linux;
56 python3.pkgs.torchWithCuda = linux;
57 python3.pkgs.jaxlib = linux;
58 }) // (genAttrs packageSets evalPackageSet));