yubico-pam: fix Darwin build

This commit is contained in:
Vincent Haupert 2024-03-18 12:32:21 +01:00
parent fccb6b42c3
commit f511648fcd
2 changed files with 7 additions and 2 deletions

View file

@ -10,6 +10,8 @@
, yubikey-personalization
, libyubikey
, libykclient
, CoreServices
, SystemConfiguration
}:
stdenv.mkDerivation rec {
@ -23,7 +25,8 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkg-config asciidoc libxslt docbook_xsl ];
buildInputs = [ pam yubikey-personalization libyubikey libykclient ];
buildInputs = [ pam yubikey-personalization libyubikey libykclient ]
++ lib.optionals stdenv.isDarwin [ CoreServices SystemConfiguration ];
meta = with lib; {
description = "Yubico PAM module";

View file

@ -25365,7 +25365,9 @@ with pkgs;
yojimbo = callPackage ../development/libraries/yojimbo { };
yubico-pam = callPackage ../development/libraries/yubico-pam { };
yubico-pam = callPackage ../development/libraries/yubico-pam {
inherit (darwin.apple_sdk.frameworks) CoreServices SystemConfiguration;
};
yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool {
inherit (darwin.apple_sdk.frameworks) PCSC;