mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #333496 from qwqawawow/sniffnet-add-libxkbcommon
sniffnet: add wayland to rpath
This commit is contained in:
commit
51c10fca10
1 changed files with 2 additions and 1 deletions
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue