Merge pull request #333496 from qwqawawow/sniffnet-add-libxkbcommon

sniffnet: add wayland to rpath
This commit is contained in:
Sandro 2024-08-09 22:23:15 +02:00 committed by GitHub
commit 51c10fca10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,7 @@
, expat , expat
, fontconfig , fontconfig
, vulkan-loader , vulkan-loader
, wayland
, xorg , xorg
, darwin , darwin
}: }:
@ -63,7 +64,7 @@ rustPlatform.buildRustPackage rec {
postFixup = lib.optionalString stdenv.isLinux '' postFixup = lib.optionalString stdenv.isLinux ''
patchelf $out/bin/sniffnet \ 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; { meta = with lib; {