summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorConnor Baker <connor.baker@tweag.io>2023-11-06 17:27:10 +0000
committerConnor Baker <connor.baker@tweag.io>2023-11-09 15:23:41 +0000
commit68906573e35b963f3e508a4edf4c96bc4d407e71 (patch)
tree9a691192c0960bbadd2f253ee16b22c4c2e2a755 /pkgs/development
parenta06f6c29272c515e8ced560c7c70df4756ec6c54 (diff)
cudaPackages.nccl-tests: add passthru.updateScript
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/science/math/nccl/tests.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/libraries/science/math/nccl/tests.nix b/pkgs/development/libraries/science/math/nccl/tests.nix
index 407c7eb0aa652..0d9093666a842 100644
--- a/pkgs/development/libraries/science/math/nccl/tests.nix
+++ b/pkgs/development/libraries/science/math/nccl/tests.nix
@@ -6,6 +6,7 @@
 , mpi
 , stdenv
 , which
+, gitUpdater
 }:
 
 cudaPackages.backendStdenv.mkDerivation (finalAttrs: {
@@ -46,12 +47,17 @@ cudaPackages.backendStdenv.mkDerivation (finalAttrs: {
     cp -r build/* $out/bin/
   '';
 
+  passthru.updateScript = gitUpdater {
+    inherit (finalAttrs) pname version;
+    rev-prefix = "v";
+  };
+
   meta = with lib; {
     description = "Tests to check both the performance and the correctness of NVIDIA NCCL operations";
     homepage = "https://github.com/NVIDIA/nccl-tests";
     platforms = platforms.linux;
     license = licenses.bsd3;
     broken = !config.cudaSupport || (mpiSupport && mpi == null);
-    maintainers = with maintainers; [ jmillerpdt ];
+    maintainers = with maintainers; [ jmillerpdt ] ++ teams.cuda.members;
   };
 })