about summary refs log tree commit diff
path: root/pkgs/by-name/t-/t-rex/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/t-/t-rex/package.nix')
-rw-r--r--pkgs/by-name/t-/t-rex/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/t-/t-rex/package.nix b/pkgs/by-name/t-/t-rex/package.nix
index f26592e052d0..7c92e49182dd 100644
--- a/pkgs/by-name/t-/t-rex/package.nix
+++ b/pkgs/by-name/t-/t-rex/package.nix
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
 
   buildInputs = [ gdal openssl ]
-    ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
+    ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security;
 
   meta = with lib; {
     description = "Vector tile server specialized on publishing MVT tiles";