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:
parent
e55ed5e394
commit
7bbbeff617
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue