about summary refs log tree commit diff
path: root/pkgs/tools/misc/fclones/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/fclones/default.nix')
-rw-r--r--pkgs/tools/misc/fclones/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/fclones/default.nix b/pkgs/tools/misc/fclones/default.nix
index deb97aced8ef..f7a70b966acf 100644
--- a/pkgs/tools/misc/fclones/default.nix
+++ b/pkgs/tools/misc/fclones/default.nix
@@ -18,12 +18,12 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-mEgFfg8I+JJuUEvj+sia2aL3BVg3HteQorZ2EOiLo64=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk_11_0.frameworks.AppKit
   ];
 
   # device::test_physical_device_name test fails on Darwin
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
 
   checkFlags = [
     # ofborg sometimes fails with "Resource temporarily unavailable"