about summary refs log tree commit diff
path: root/pkgs/by-name/cp/cppcheck/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/cp/cppcheck/package.nix')
-rw-r--r--pkgs/by-name/cp/cppcheck/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/cp/cppcheck/package.nix b/pkgs/by-name/cp/cppcheck/package.nix
index a7fbe2a50ec4..d7ed4fb99c47 100644
--- a/pkgs/by-name/cp/cppcheck/package.nix
+++ b/pkgs/by-name/cp/cppcheck/package.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
   strictDeps = true;
 
   # test/testcondition.cpp:4949(TestCondition::alwaysTrueContainer): Assertion failed.
-  doCheck = !(stdenv.isLinux && stdenv.isAarch64);
+  doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
   doInstallCheck = true;
 
   postPatch = ''