yubico-pam: fix Darwin build
This commit is contained in:
parent
fccb6b42c3
commit
f511648fcd
2 changed files with 7 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue