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/libraries/hipcub | |
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/libraries/hipcub')
-rw-r--r-- | pkgs/development/libraries/hipcub/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/libraries/hipcub/default.nix b/pkgs/development/libraries/hipcub/default.nix index dc4899c8ec166..7874f13c6de86 100644 --- a/pkgs/development/libraries/hipcub/default.nix +++ b/pkgs/development/libraries/hipcub/default.nix @@ -19,11 +19,11 @@ assert buildTests -> gtest != null; assert buildBenchmarks -> gbenchmark != null; # CUB can also be used as a backend instead of rocPRIM. -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "hipcub"; repoVersion = "2.12.0"; rocmVersion = "5.3.3"; - version = "${repoVersion}-${rocmVersion}"; + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; outputs = [ "out" @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "ROCmSoftwarePlatform"; repo = "hipCUB"; - rev = "rocm-${rocmVersion}"; + rev = "rocm-${finalAttrs.rocmVersion}"; hash = "sha256-/GMZKbMD1sZQCM2FulM9jiJQ8ByYZinn0C8d/deFh0g="; }; @@ -96,6 +96,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/ROCmSoftwarePlatform/hipCUB"; license = with licenses; [ bsd3 ]; maintainers = teams.rocm.members; - broken = rocmVersion != hip.version; + broken = finalAttrs.rocmVersion != hip.version; }; -} +}) |