about summary refs log tree commit diff
path: root/pkgs/by-name/le/leaf/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/le/leaf/package.nix')
-rw-r--r--pkgs/by-name/le/leaf/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/le/leaf/package.nix b/pkgs/by-name/le/leaf/package.nix
index bda0c6d2afb0..1bd44f23d304 100644
--- a/pkgs/by-name/le/leaf/package.nix
+++ b/pkgs/by-name/le/leaf/package.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-2I0XusAI98WLzGcwEorPmtcK3VkpwpkIn0JKwn3gT1c=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.CoreFoundation
     darwin.apple_sdk.frameworks.SystemConfiguration
   ];