about summary refs log tree commit diff
path: root/pkgs/tools/security/spectre-cli/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/spectre-cli/default.nix')
-rw-r--r--pkgs/tools/security/spectre-cli/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/spectre-cli/default.nix b/pkgs/tools/security/spectre-cli/default.nix
index 923046cdad4a..ba63b823e739 100644
--- a/pkgs/tools/security/spectre-cli/default.nix
+++ b/pkgs/tools/security/spectre-cli/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
 
   # Some tests are expected to fail on ARM64
   # See: https://gitlab.com/spectre.app/cli/-/issues/27#note_962950844
-  doCheck = !(stdenv.isLinux && stdenv.isAarch64);
+  doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
 
   checkPhase = ''
     mv ../spectre-cli-tests ../spectre_tests.xml ./