about summary refs log tree commit diff
path: root/pkgs/tools/security/swtpm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/swtpm/default.nix')
-rw-r--r--pkgs/tools/security/swtpm/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/swtpm/default.nix b/pkgs/tools/security/swtpm/default.nix
index b39c43a8e1b6..6b1bdb4c03ab 100644
--- a/pkgs/tools/security/swtpm/default.nix
+++ b/pkgs/tools/security/swtpm/default.nix
@@ -41,14 +41,14 @@ stdenv.mkDerivation (finalAttrs: {
     openssl libtasn1
     glib json-glib
     gnutls
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     fuse
     libseccomp
   ];
 
   configureFlags = [
     "--localstatedir=/var"
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     "--with-cuse"
   ];