about summary refs log tree commit diff
path: root/pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix')
-rw-r--r--pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix b/pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix
index eec840ef2197..6c9571a64d05 100644
--- a/pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix
+++ b/pkgs/by-name/ag/age-plugin-fido2-hmac/package.nix
@@ -39,7 +39,7 @@ buildGoModule rec {
 
   buildInputs = [ libfido2 ];
 
-  postConfigure = lib.optional stdenv.isDarwin darwin_configure;
+  postConfigure = lib.optional stdenv.hostPlatform.isDarwin darwin_configure;
 
   meta = with lib; {
     description = "Age plugin to encrypt files with fido2 tokens using the hmac-secret extension and non-discoverable credentials";