about summary refs log tree commit diff
path: root/pkgs/tools/misc/yubikey-manager/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/yubikey-manager/default.nix')
-rw-r--r--pkgs/tools/misc/yubikey-manager/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/yubikey-manager/default.nix b/pkgs/tools/misc/yubikey-manager/default.nix
index 6243a2e4668c..5523b6468969 100644
--- a/pkgs/tools/misc/yubikey-manager/default.nix
+++ b/pkgs/tools/misc/yubikey-manager/default.nix
@@ -20,7 +20,7 @@ python3Packages.buildPythonPackage rec {
 
   postPatch = ''
     substituteInPlace "ykman/pcsc/__init__.py" \
-      --replace 'pkill' '${if stdenv.isLinux then procps else "/usr"}/bin/pkill'
+      --replace 'pkill' '${if stdenv.hostPlatform.isLinux then procps else "/usr"}/bin/pkill'
   '';
 
   nativeBuildInputs = with python3Packages; [