about summary refs log tree commit diff
path: root/pkgs/by-name/pi/pixi/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/pi/pixi/package.nix')
-rw-r--r--pkgs/by-name/pi/pixi/package.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/pi/pixi/package.nix b/pkgs/by-name/pi/pixi/package.nix
index 6c0ed9ebc0e20..85413acc64ed5 100644
--- a/pkgs/by-name/pi/pixi/package.nix
+++ b/pkgs/by-name/pi/pixi/package.nix
@@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     libgit2
     openssl
-  ] ++ lib.optionals stdenv.isDarwin (
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin (
     with darwin.apple_sdk_11_0.frameworks; [ CoreFoundation IOKit SystemConfiguration Security ]
   );
 
@@ -50,7 +50,7 @@ rustPlatform.buildRustPackage rec {
 
   # There are some CI failures with Rattler. Tests on Aarch64 has been skipped.
   # See https://github.com/prefix-dev/pixi/pull/241.
-  doCheck = !stdenv.isAarch64;
+  doCheck = !stdenv.hostPlatform.isAarch64;
 
   preCheck = ''
     export HOME="$(mktemp -d)"
@@ -81,7 +81,7 @@ rustPlatform.buildRustPackage rec {
     "--skip=test_task_with_env"
     "--skip=test_pixi_only_env_activation"
     "--skip=cli::shell_hook::tests::test_environment_json"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "--skip=task::task_environment::tests::test_find_ambiguous_task"
     "--skip=task::task_environment::tests::test_find_task_dual_defined"
     "--skip=task::task_environment::tests::test_find_task_explicit_defined"