about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-01-28 21:19:51 -0500
committerGitHub <noreply@github.com>2024-01-28 21:19:51 -0500
commit519ebe37e2677653da161fe00b9605f91cc3cbd4 (patch)
tree5546f8a65354f6f1fc323290ed14efbc0da6d606 /nixos
parent9b350cbd8c2ab3da32e4b1be2fbf2cf0584a003a (diff)
parent38b2b0f6b5363c690333f4a80f481d56c3ca0c36 (diff)
downloadnixlib-519ebe37e2677653da161fe00b9605f91cc3cbd4.tar
nixlib-519ebe37e2677653da161fe00b9605f91cc3cbd4.tar.gz
nixlib-519ebe37e2677653da161fe00b9605f91cc3cbd4.tar.bz2
nixlib-519ebe37e2677653da161fe00b9605f91cc3cbd4.tar.lz
nixlib-519ebe37e2677653da161fe00b9605f91cc3cbd4.tar.xz
nixlib-519ebe37e2677653da161fe00b9605f91cc3cbd4.tar.zst
nixlib-519ebe37e2677653da161fe00b9605f91cc3cbd4.zip
Merge pull request #283452 from SuperSandro2000/pcsclite-outputs
pcsclite: move binaries, polkit, systemd files to out, move libraries to lib
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/hardware/pcscd.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/hardware/pcscd.nix b/nixos/modules/services/hardware/pcscd.nix
index 85accd8335f7..b5963e1d29a3 100644
--- a/nixos/modules/services/hardware/pcscd.nix
+++ b/nixos/modules/services/hardware/pcscd.nix
@@ -46,8 +46,8 @@ in
   config = mkIf config.services.pcscd.enable {
     environment.etc."reader.conf".source = cfgFile;
 
-    environment.systemPackages = [ package.out ];
-    systemd.packages = [ (getBin package) ];
+    environment.systemPackages = [ package ];
+    systemd.packages = [ package ];
 
     services.pcscd.plugins = [ pkgs.ccid ];
 
@@ -64,7 +64,7 @@ in
       # around it, we force the path to the cfgFile.
       #
       # https://github.com/NixOS/nixpkgs/issues/121088
-      serviceConfig.ExecStart = [ "" "${getBin package}/bin/pcscd -f -x -c ${cfgFile}" ];
+      serviceConfig.ExecStart = [ "" "${package}/bin/pcscd -f -x -c ${cfgFile}" ];
     };
   };
 }