Merge pull request #222191 from figsoda/sniffnet

This commit is contained in:
figsoda 2023-03-21 09:11:26 -04:00 committed by GitHub
commit 418d036def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
, alsa-lib
, expat
, fontconfig
, libGL
, vulkan-loader
, xorg
, darwin
}:
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
alsa-lib
expat
fontconfig
libGL
vulkan-loader
xorg.libX11
xorg.libXcursor
xorg.libXi
@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec {
postFixup = lib.optionalString stdenv.isLinux ''
patchelf $out/bin/sniffnet \
--add-rpath ${lib.makeLibraryPath [ libGL xorg.libX11 ]}
--add-rpath ${lib.makeLibraryPath [ vulkan-loader xorg.libX11 ]}
'';
meta = with lib; {