about summary refs log tree commit diff
path: root/pkgs/development/libraries/yubico-pam/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/yubico-pam/default.nix')
-rw-r--r--pkgs/development/libraries/yubico-pam/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/yubico-pam/default.nix b/pkgs/development/libraries/yubico-pam/default.nix
index 3af451ec84e0..e60008994b03 100644
--- a/pkgs/development/libraries/yubico-pam/default.nix
+++ b/pkgs/development/libraries/yubico-pam/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoreconfHook pkg-config asciidoc libxslt docbook_xsl ];
   buildInputs = [ pam yubikey-personalization libyubikey libykclient ]
-    ++ lib.optionals stdenv.isDarwin [ CoreServices SystemConfiguration ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices SystemConfiguration ];
 
   meta = with lib; {
     description = "Yubico PAM module";