about summary refs log tree commit diff
path: root/pkgs/development/python-modules/craft-parts/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/craft-parts/default.nix')
-rw-r--r--pkgs/development/python-modules/craft-parts/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/craft-parts/default.nix b/pkgs/development/python-modules/craft-parts/default.nix
index 2ad66a7d4a75..c3fd4e2abb54 100644
--- a/pkgs/development/python-modules/craft-parts/default.nix
+++ b/pkgs/development/python-modules/craft-parts/default.nix
@@ -96,7 +96,7 @@ buildPythonPackage rec {
       "tests/unit/packages/test_deb.py"
       "tests/unit/packages/test_chisel.py"
     ]
-    ++ lib.optionals stdenv.isAarch64 [
+    ++ lib.optionals stdenv.hostPlatform.isAarch64 [
       # These tests have hardcoded "amd64" strings which fail on aarch64
       "tests/unit/executor/test_environment.py"
       "tests/unit/features/overlay/test_executor_environment.py"