Merge pull request #296883 from veehaitch/fix-yubico-pam-darwin

yubico-pam: fix Darwin build

authored by Emily Trau and committed by GitHub 84102223 68387dda

+7 -2
+4 -1
pkgs/development/libraries/yubico-pam/default.nix
··· 10 , yubikey-personalization 11 , libyubikey 12 , libykclient 13 }: 14 15 stdenv.mkDerivation rec { ··· 23 }; 24 25 nativeBuildInputs = [ autoreconfHook pkg-config asciidoc libxslt docbook_xsl ]; 26 - buildInputs = [ pam yubikey-personalization libyubikey libykclient ]; 27 28 meta = with lib; { 29 description = "Yubico PAM module";
··· 10 , yubikey-personalization 11 , libyubikey 12 , libykclient 13 + , CoreServices 14 + , SystemConfiguration 15 }: 16 17 stdenv.mkDerivation rec { ··· 25 }; 26 27 nativeBuildInputs = [ autoreconfHook pkg-config asciidoc libxslt docbook_xsl ]; 28 + buildInputs = [ pam yubikey-personalization libyubikey libykclient ] 29 + ++ lib.optionals stdenv.isDarwin [ CoreServices SystemConfiguration ]; 30 31 meta = with lib; { 32 description = "Yubico PAM module";
+3 -1
pkgs/top-level/all-packages.nix
··· 25374 25375 yojimbo = callPackage ../development/libraries/yojimbo { }; 25376 25377 - yubico-pam = callPackage ../development/libraries/yubico-pam { }; 25378 25379 yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool { 25380 inherit (darwin.apple_sdk.frameworks) PCSC;
··· 25374 25375 yojimbo = callPackage ../development/libraries/yojimbo { }; 25376 25377 + yubico-pam = callPackage ../development/libraries/yubico-pam { 25378 + inherit (darwin.apple_sdk.frameworks) CoreServices SystemConfiguration; 25379 + }; 25380 25381 yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool { 25382 inherit (darwin.apple_sdk.frameworks) PCSC;