lact: add libvulkan.so as NEEDED too
This isn't strictly necessary but does make sense to do for transparency.
This commit is contained in:
parent
97a043ae9a
commit
6e1ec4b79b
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, blueprint-compiler
|
||||
, pkg-config
|
||||
@ -60,9 +61,8 @@ rustPlatform.buildRustPackage rec {
|
||||
install -Dm444 res/io.github.lact-linux.png -t $out/share/pixmaps
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
patchelf $out/bin/.lact-wrapped \
|
||||
--add-rpath ${lib.makeLibraryPath [ vulkan-loader ]}
|
||||
postFixup = lib.optionalString stdenv.targetPlatform.isElf ''
|
||||
patchelf $out/bin/.lact-wrapped --add-needed libvulkan.so --add-rpath ${lib.makeLibraryPath [ vulkan-loader ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user