about summary refs log tree commit diff
path: root/pkgs/by-name/ra/rathole/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ra/rathole/package.nix')
-rw-r--r--pkgs/by-name/ra/rathole/package.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/by-name/ra/rathole/package.nix b/pkgs/by-name/ra/rathole/package.nix
index 38d163daf8d8..19754ba11cdb 100644
--- a/pkgs/by-name/ra/rathole/package.nix
+++ b/pkgs/by-name/ra/rathole/package.nix
@@ -24,9 +24,11 @@ rustPlatform.buildRustPackage {
 
   nativeBuildInputs = [ pkg-config ];
 
-  buildInputs = [
-    openssl
-  ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreServices ]);
+  buildInputs =
+    [
+      openssl
+    ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ CoreServices ]);
 
   __darwinAllowLocalNetworking = true;