xidlehook: use xorg.* packages directly instead of xlibsWrapper indirection

Tested as no material change in `out` output with `diffoscope`.
This commit is contained in:
Sergei Trofimovich 2022-10-29 10:13:23 +01:00 committed by Bjørn Forsman
parent fdebb81f45
commit 68eea64825

View file

@ -3,7 +3,6 @@
, rustPlatform , rustPlatform
, fetchFromGitLab , fetchFromGitLab
, python3 , python3
, xlibsWrapper
, xorg , xorg
, libpulseaudio , libpulseaudio
, pkg-config , pkg-config
@ -27,7 +26,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1y7m61j07gvqfqz97mda39nc602sv7a826c06m8l22i7z380xfms"; cargoSha256 = "1y7m61j07gvqfqz97mda39nc602sv7a826c06m8l22i7z380xfms";
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security; buildInputs = [ xorg.libX11 xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config patchelf python3 ]; nativeBuildInputs = [ pkg-config patchelf python3 ];
buildNoDefaultFeatures = !stdenv.isLinux; buildNoDefaultFeatures = !stdenv.isLinux;