From 13270e7feb05976dbde5e94e6b155f35592436e3 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Mon, 15 Apr 2024 13:09:11 -0700 Subject: [PATCH] pcsclite: remove isLinux condition from --enable-ipcdir configureFlag The `--enable-ipcdir=/run/pcscd` flag was added by commit 2b93e96d0bdf5 "pcsclite: add policy kit support". However the pcscd IPC mechanism is completely independent from polkit, systemd, and dbus. There is no reason to disable the IPC mechanism on all non-Linux platforms. --- pkgs/tools/security/pcsclite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/pcsclite/default.nix b/pkgs/tools/security/pcsclite/default.nix index 1a5d9badf3c7..2e383cd393bd 100644 --- a/pkgs/tools/security/pcsclite/default.nix +++ b/pkgs/tools/security/pcsclite/default.nix @@ -37,8 +37,8 @@ stdenv.mkDerivation (finalAttrs: { "--enable-usbdropdir=/var/lib/pcsc/drivers" (lib.enableFeature stdenv.isLinux "libsystemd") (lib.enableFeature polkitSupport "polkit") - ] ++ lib.optionals stdenv.isLinux [ "--enable-ipcdir=/run/pcscd" + ] ++ lib.optionals stdenv.isLinux [ "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" ];