File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ stdenv'.mkDerivation (finalAttrs: {
134134 '${ lib . getLib brotli } /lib/libbrotlidec.dylib'
135135 '' )
136136 + ( lib . optionalString hipSupport ''
137- substituteInPlace extern/hipew/src/hipew.c --replace '"/opt/rocm/hip/lib/libamdhip64.so"' '"${ rocmPackages . clr } /lib/libamdhip64.so"'
138- substituteInPlace extern/hipew/src/hipew.c --replace '"opt/rocm/hip/bin"' '"${ rocmPackages . clr } /bin"'
137+ substituteInPlace extern/hipew/src/hipew.c --replace-fail '"/opt/rocm/hip/lib/libamdhip64.so. ${ lib . versions . major rocmPackages . clr . version } "' '"${ rocmPackages . clr } /lib/libamdhip64.so"'
138+ substituteInPlace extern/hipew/src/hipew.c --replace-fail '"opt/rocm/hip/bin"' '"${ rocmPackages . clr } /bin"'
139139 '' ) ;
140140
141141 env . NIX_CFLAGS_COMPILE = "-I${ python3 } /include/${ python3 . libPrefix } " ;
You can’t perform that action at this time.
0 commit comments