From 68906573e35b963f3e508a4edf4c96bc4d407e71 Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Mon, 6 Nov 2023 17:27:10 +0000 Subject: [PATCH] cudaPackages.nccl-tests: add passthru.updateScript --- pkgs/development/libraries/science/math/nccl/tests.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/science/math/nccl/tests.nix b/pkgs/development/libraries/science/math/nccl/tests.nix index 407c7eb0aa65..0d9093666a84 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; }; })