sniffnet: replace libGL with vulkan-loader
This commit is contained in:
parent
9030145e66
commit
96c5fc940c
@ -7,7 +7,7 @@
|
|||||||
, alsa-lib
|
, alsa-lib
|
||||||
, expat
|
, expat
|
||||||
, fontconfig
|
, fontconfig
|
||||||
, libGL
|
, vulkan-loader
|
||||||
, xorg
|
, xorg
|
||||||
, darwin
|
, darwin
|
||||||
}:
|
}:
|
||||||
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
alsa-lib
|
alsa-lib
|
||||||
expat
|
expat
|
||||||
fontconfig
|
fontconfig
|
||||||
libGL
|
vulkan-loader
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
xorg.libXcursor
|
xorg.libXcursor
|
||||||
xorg.libXi
|
xorg.libXi
|
||||||
@ -45,7 +45,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 [ libGL xorg.libX11 ]}
|
--add-rpath ${lib.makeLibraryPath [ vulkan-loader xorg.libX11 ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user