vkquake: use makeLibraryPath

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
PopeRigby
2024-08-06 12:19:38 -07:00
committed by GitHub
co-authored by Sandro
parent e55ed5e394
commit 7bbbeff617
+2 -2
View File
@@ -60,8 +60,8 @@ stdenv.mkDerivation rec {
postFixup = ''
cp vkquake "$out/bin"
wrapProgram $out/bin/vkquake \
--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib
patchelf $out/bin/vkquake \
--add-rpath ${lib.makeLibraryPath [ vulkan-loader ]}
'';
meta = with lib; {