about summary refs log tree commit diff
path: root/pkgs/applications/version-management/delta/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/delta/default.nix')
-rw-r--r--pkgs/applications/version-management/delta/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/delta/default.nix b/pkgs/applications/version-management/delta/default.nix
index d724d4f2bf46..76ace5026e68 100644
--- a/pkgs/applications/version-management/delta/default.nix
+++ b/pkgs/applications/version-management/delta/default.nix
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [
     oniguruma
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk_11_0.frameworks.Foundation
   ];
 
@@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec {
   # https://github.com/dandavison/delta/issues/1660
   dontUseCargoParallelTests = true;
 
-  checkFlags = lib.optionals stdenv.isDarwin [
+  checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
     # This test tries to read /etc/passwd, which fails with the sandbox
     # enabled on Darwin
     "--skip=test_diff_real_files"