summary refs log tree commit diff
path: root/pkgs/applications/misc/firestarter
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2022-04-03 11:19:04 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2022-04-09 08:50:22 +0200
commit1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55 (patch)
tree82668e186706e393a7f43c029be21ea4abfc44e9 /pkgs/applications/misc/firestarter
parent934190fa06dc0de1fe7eecc543583d91657fb5fa (diff)
downloadnixpkgs-1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55.tar
nixpkgs-1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55.tar.gz
nixpkgs-1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55.tar.bz2
nixpkgs-1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55.tar.lz
nixpkgs-1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55.tar.xz
nixpkgs-1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55.tar.zst
nixpkgs-1d63f89caaf140ac33f1796dc0aaeb20f4ac4e55.zip
cudaPackages: overhaul of how we package cuda packages
There are many different versions of the `cudatoolkit` and related
cuda packages, and it can be tricky to ensure they remain compatible.

- `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist");
- expressions should now use `cudaPackages` as parameter instead of the individual cuda packages;
- `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version;
- `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
Diffstat (limited to 'pkgs/applications/misc/firestarter')
-rw-r--r--pkgs/applications/misc/firestarter/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/firestarter/default.nix b/pkgs/applications/misc/firestarter/default.nix
index 92c517835d8..dca8e125691 100644
--- a/pkgs/applications/misc/firestarter/default.nix
+++ b/pkgs/applications/misc/firestarter/default.nix
@@ -8,11 +8,13 @@
 , glibc
 , git
 , pkg-config
-, cudatoolkit
+, cudaPackages ? {}
 , withCuda ? false
 }:
 
 let
+  inherit (cudaPackages) cudatoolkit;
+
   hwloc = stdenv.mkDerivation rec {
     pname = "hwloc";
     version = "2.2.0";