about summary refs log tree commit diff
path: root/pkgs/development/libraries/tpm2-tss/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/tpm2-tss/default.nix')
-rw-r--r--pkgs/development/libraries/tpm2-tss/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/tpm2-tss/default.nix b/pkgs/development/libraries/tpm2-tss/default.nix
index 6d3a29c28ba7..34b37d1c74a1 100644
--- a/pkgs/development/libraries/tpm2-tss/default.nix
+++ b/pkgs/development/libraries/tpm2-tss/default.nix
@@ -10,7 +10,7 @@ let
   # needs to be conditional based on isLinux because procps for other systems
   # might not support the withSystemd option.
   procpsWithoutSystemd = procps.override { withSystemd = false; };
-  procps_pkg = if stdenv.isLinux then procpsWithoutSystemd else procps;
+  procps_pkg = if stdenv.hostPlatform.isLinux then procpsWithoutSystemd else procps;
 in
 
 stdenv.mkDerivation rec {