1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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
parent e55ed5e394
commit 7bbbeff617
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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; {