Commit 784a2045 authored by qwqawawow's avatar qwqawawow
Browse files

sniffnet: add wayland to rpath

parent 154bcb95
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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; {