about summary refs log tree commit diff
path: root/pkgs/development/rocm-modules/5
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-06-24 18:00:57 +0000
committerGitHub <noreply@github.com>2024-06-24 18:00:57 +0000
commit42ca786b66a34010edfbc5352a943a686d1d2cc1 (patch)
tree526225ea299ce9370461ab328bd0d35ef6850be2 /pkgs/development/rocm-modules/5
parent7d5bc724b0b78eb59ebfe2cccb9dd6ffd1271e08 (diff)
parente1f89770af6dce5bef6c79924dc827424c103cbf (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/rocm-modules/5')
-rw-r--r--pkgs/development/rocm-modules/5/clr/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/rocm-modules/5/clr/default.nix b/pkgs/development/rocm-modules/5/clr/default.nix
index 0c702dace2b81..49857e9d26f5a 100644
--- a/pkgs/development/rocm-modules/5/clr/default.nix
+++ b/pkgs/development/rocm-modules/5/clr/default.nix
@@ -114,6 +114,10 @@ in stdenv.mkDerivation (finalAttrs: {
 
     substituteInPlace hipamd/src/hip_embed_pch.sh \
       --replace "\''$LLVM_DIR/bin/clang" "${clang}/bin/clang"
+
+    substituteInPlace opencl/khronos/icd/loader/icd_platform.h \
+      --replace-fail '#define ICD_VENDOR_PATH "/etc/OpenCL/vendors/";' \
+                     '#define ICD_VENDOR_PATH "/run/opengl-driver/etc/OpenCL/vendors/";'
   '';
 
   postInstall = ''