about summary refs log tree commit diff
path: root/pkgs/by-name/da/darklua/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/da/darklua/package.nix')
-rw-r--r--pkgs/by-name/da/darklua/package.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/by-name/da/darklua/package.nix b/pkgs/by-name/da/darklua/package.nix
index aa79d6048dd9..fd31987ff364 100644
--- a/pkgs/by-name/da/darklua/package.nix
+++ b/pkgs/by-name/da/darklua/package.nix
@@ -19,7 +19,9 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-fYx+SQdQMnNSygr0/Y4zEPtqfQPZYmQUq3ndi1HlXuE=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
+    darwin.apple_sdk.frameworks.CoreServices
+  ];
 
   # error: linker `aarch64-linux-gnu-gcc` not found
   postPatch = ''