mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
rocm-thunk: fix paths in pkg-config file
This commit is contained in:
parent
d5f218a228
commit
2e07f8a7bf
@ -26,6 +26,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libdrm numactl ];
|
||||
|
||||
# https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/issues/75
|
||||
postPatch = ''
|
||||
substituteInPlace libhsakmt.pc.in \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
cp -r $src/include $out
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user