about summary refs log tree commit diff
path: root/pkgs/tools/security/pcsc-tools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/pcsc-tools/default.nix')
-rw-r--r--pkgs/tools/security/pcsc-tools/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/pcsc-tools/default.nix b/pkgs/tools/security/pcsc-tools/default.nix
index c696fad309a3..39efa566553d 100644
--- a/pkgs/tools/security/pcsc-tools/default.nix
+++ b/pkgs/tools/security/pcsc-tools/default.nix
@@ -8,7 +8,7 @@
 , pkg-config
 , wrapGAppsHook3
 , systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
-, dbusSupport ? stdenv.isLinux, dbus
+, dbusSupport ? stdenv.hostPlatform.isLinux, dbus
 , pcsclite
 , PCSC
 , wget
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
     dbus
   ] ++ [
     perlPackages.perl pcsclite
-  ] ++ lib.optional stdenv.isDarwin PCSC
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin PCSC
     ++ lib.optional systemdSupport systemd;
 
   nativeBuildInputs = [