mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #222191 from figsoda/sniffnet
This commit is contained in:
commit
418d036def
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user