about summary refs log tree commit diff
path: root/pkgs/by-name/do/dotter/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/do/dotter/package.nix')
-rw-r--r--pkgs/by-name/do/dotter/package.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/by-name/do/dotter/package.nix b/pkgs/by-name/do/dotter/package.nix
index 441fbf6cc4e8..68d55ffba40d 100644
--- a/pkgs/by-name/do/dotter/package.nix
+++ b/pkgs/by-name/do/dotter/package.nix
@@ -22,7 +22,9 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-LEOORHD0j+HVl/fB9Q2xVZ2AxZKsPE5SeOS1ZsKwTSo=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
+    darwin.apple_sdk.frameworks.CoreServices
+  ];
 
   nativeCheckInputs = [
     which