diff options
author | Madoura <madouura@gmail.com> | 2022-11-23 20:17:04 -0600 |
---|---|---|
committer | Madoura <madouura@gmail.com> | 2022-11-24 01:23:03 -0600 |
commit | 6bb3a9baee74655ebbe1f3d9c5b2693e65846146 (patch) | |
tree | 9c90955bdbcd9797a67959122e428470f2f99146 /pkgs/development/tools/rocminfo | |
parent | 0190a12af56afabed5c3b4f367870e04baf9da52 (diff) |
rocm-related: use finalAttrs
hip: use finalAttrs rocm-llvm: use finalAttrs clang-ocl: use finalAttrs composable_kernel: use finalAttrs hipcub: use finalAttrs hipsparse: use finalAttrs miopengemm: use finalAttrs rccl: use finalAttrs rocblas: use finalAttrs rocclr: use finalAttrs rocfft: use finalAttrs rocm-comgr: use finalAttrs rocm-device-libs: use finalAttrs rocm-opencl-runtime: use finalAttrs rocm-runtime: use finalAttrs rocm-thunk: use finalAttrs rocmlir: use finalAttrs rocprim: use finalAttrs rocsparse: use finalAttrs rocthrust: use finalAttrs rocm-cmake: use finalAttrs rocminfo: use finalAttrs rocm-smi: use finalAttrs
Diffstat (limited to 'pkgs/development/tools/rocminfo')
-rw-r--r-- | pkgs/development/tools/rocminfo/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/rocminfo/default.nix b/pkgs/development/tools/rocminfo/default.nix index 90afc09f8360d..19dc6803f478c 100644 --- a/pkgs/development/tools/rocminfo/default.nix +++ b/pkgs/development/tools/rocminfo/default.nix @@ -6,13 +6,13 @@ # Polaris) such that no system call is needed for downstream # compilers to determine the desired target. , defaultTargets ? []}: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { version = "5.3.3"; pname = "rocminfo"; src = fetchFromGitHub { owner = "RadeonOpenCompute"; repo = "rocminfo"; - rev = "rocm-${version}"; + rev = "rocm-${finalAttrs.version}"; sha256 = "sha256-4wZTm5AZgG8xEd6uYqxWq4bWZgcSYZ2WYA1z4RAPF8U="; }; @@ -52,4 +52,4 @@ stdenv.mkDerivation rec { platforms = platforms.linux; broken = stdenv.isAarch64; }; -} +}) |