xidlehook: use xorg.* packages directly instead of xlibsWrapper indirection
Tested as no material change in `out` output with `diffoscope`.
This commit is contained in:
parent
fdebb81f45
commit
68eea64825
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue