sniffnet: add wayland to rpath

This commit is contained in:
qwqawawow 2024-08-10 00:44:59 +08:00
parent 154bcb95ad
commit 784a204564

View File

@ -10,6 +10,7 @@
, expat
, fontconfig
, vulkan-loader
, wayland
, xorg
, darwin
}:
@ -63,7 +64,7 @@ rustPlatform.buildRustPackage rec {
postFixup = lib.optionalString stdenv.isLinux ''
patchelf $out/bin/sniffnet \
--add-rpath ${lib.makeLibraryPath [ vulkan-loader xorg.libX11 libxkbcommon ]}
--add-rpath ${lib.makeLibraryPath [ vulkan-loader xorg.libX11 libxkbcommon wayland ]}
'';
meta = with lib; {