about summary refs log tree commit diff
path: root/pkgs/servers/nostr-rs-relay/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/nostr-rs-relay/default.nix')
-rw-r--r--pkgs/servers/nostr-rs-relay/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/nostr-rs-relay/default.nix b/pkgs/servers/nostr-rs-relay/default.nix
index db7dd125567c..c63f4d2a057f 100644
--- a/pkgs/servers/nostr-rs-relay/default.nix
+++ b/pkgs/servers/nostr-rs-relay/default.nix
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-+agmlg6tAnEJ5o586fUY7V4fdNScDPKCbaZqt7R3gqg=";
 
   buildInputs = [ openssl.dev ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
     libiconv
     darwin.apple_sdk.frameworks.Security
     darwin.apple_sdk.frameworks.SystemConfiguration