4 This release file is currently not tested on hydra.nixos.org
5 because it requires unfree software, but it is tested by
6 https://hydra.nix-community.org/jobset/nixpkgs/cuda-nixos-unstable.
8 Cf. https://github.com/nix-community/infra/pull/1335
10 Test for example like this:
12 $ hydra-eval-jobs pkgs/top-level/release-cuda.nix -I .
16 ensureList = x: if builtins.isList x then x else [ x ];
17 allowUnfreePredicate =
22 || builtins.elem license.shortName [
28 ) (ensureList p.meta.license);
32 # The platforms for which we build Nixpkgs.
38 # Attributes passed to nixpkgs.
41 inherit allowUnfreePredicate;
42 "${variant}Support" = true;
48 assert builtins.elem variant [
55 release-lib = import ./release-lib.nix { inherit supportedSystems nixpkgsArgs; };
57 inherit (release-lib) lib;
65 # Package sets to evaluate whole
66 packageSets = builtins.filter (lib.strings.hasPrefix "cudaPackages") (builtins.attrNames pkgs);
67 evalPackageSet = pset: mapTestOn { ${pset} = packagePlatforms pkgs.${pset}; };
81 cctag = linux; # Failed in https://github.com/NixOS/nixpkgs/pull/233581
83 cholmod-extra = linux;
86 deepin.image-editor = linux;
89 gpu-screen-recorder = linux;
90 gst_all_1.gst-plugins-bad = linux;
94 monado = linux; # Failed in https://github.com/NixOS/nixpkgs/pull/233581
96 obs-studio-plugins.obs-backgroundremoval = linux;
103 pixinsight = linux; # Failed in https://github.com/NixOS/nixpkgs/pull/233581
108 truecrack-cuda = linux;
110 ueberzugpp = linux; # Failed in https://github.com/NixOS/nixpkgs/pull/233581
111 wyoming-faster-whisper = linux;
122 faster-whisper = linux;
124 gpt-2-simple = linux;
133 numpy = linux; # Only affected by MKL?
136 openai-whisper = linux;
141 pyrealsense2WithCuda = linux;
142 pytorch-lightning = linux;
145 scikit-learn = linux; # Only affected by MKL?
146 scipy = linux; # Only affected by MKL?
147 spacy-transformers = linux;
149 tensorflow-probability = linux;
152 tiny-cuda-nn = linux;
156 transformers = linux;
157 ttstokenizer = linux;
161 // (lib.genAttrs packageSets evalPackageSet);