mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
xidlehook: Fix darwin build
... I think
This commit is contained in:
parent
a2ae93adc9
commit
e2d5470b17
@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitLab
|
||||
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf }:
|
||||
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "xidlehook-${version}";
|
||||
@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
|
||||
cargoSha256 = "1pdhbqnkgwp2v5zyin8z8049aq8c3kfk04v9wsbz8qla34rgi99s";
|
||||
|
||||
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ];
|
||||
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security;
|
||||
nativeBuildInputs = [ pkgconfig patchelf ];
|
||||
|
||||
postFixup = lib.optionalString stdenv.isLinux ''
|
||||
|
@ -6326,7 +6326,9 @@ with pkgs;
|
||||
|
||||
xiccd = callPackage ../tools/misc/xiccd { };
|
||||
|
||||
xidlehook = callPackage ../tools/X11/xidlehook {};
|
||||
xidlehook = callPackage ../tools/X11/xidlehook {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
xorriso = callPackage ../tools/cd-dvd/xorriso { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user