about summary refs log tree commit diff
path: root/pkgs/by-name/pi/piv-agent/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/pi/piv-agent/package.nix')
-rw-r--r--pkgs/by-name/pi/piv-agent/package.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/by-name/pi/piv-agent/package.nix b/pkgs/by-name/pi/piv-agent/package.nix
index d1c35d815341..84f7db49becb 100644
--- a/pkgs/by-name/pi/piv-agent/package.nix
+++ b/pkgs/by-name/pi/piv-agent/package.nix
@@ -9,25 +9,25 @@
 
 buildGoModule rec {
   pname = "piv-agent";
-  version = "0.21.2";
+  version = "0.22.0";
 
   src = fetchFromGitHub {
     owner = "smlx";
     repo = "piv-agent";
     rev = "v${version}";
-    hash = "sha256-nHxtQaQ5Lc0QAJrWU6fUWViDwOKkxVyj9/B6XZ+Y0zw=";
+    hash = "sha256-bfJIrWDFQIg0n1RDadARPHhQwE6i7mAMxE5GPYo4WU8=";
   };
 
-  vendorHash = "sha256-L5HuTYA01w3LUtSy7OVxG6QN5uQZ8LVYyrBcJQTkIUA=";
+  vendorHash = "sha256-HIB+p0yh7EWudLp1YGoClYbK3hkYEJZ+o+9BbOHE4+0=";
 
   subPackages = [ "cmd/piv-agent" ];
 
   ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.shortCommit=${src.rev}" ];
 
-  nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
 
   buildInputs =
-    if stdenv.isDarwin
+    if stdenv.hostPlatform.isDarwin
     then [ darwin.apple_sdk.frameworks.PCSC ]
     else [ pcsclite ];