about summary refs log tree commit diff
path: root/pkgs/servers/roapi/http.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/roapi/http.nix')
-rw-r--r--pkgs/servers/roapi/http.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/roapi/http.nix b/pkgs/servers/roapi/http.nix
index 019c979b47a2..8c0dc4ee59f2 100644
--- a/pkgs/servers/roapi/http.nix
+++ b/pkgs/servers/roapi/http.nix
@@ -5,7 +5,7 @@
 let
   pname = "roapi-http";
   version = "0.6.0";
-  target = lib.optionalString stdenv.isDarwin "apple-darwin";
+  target = lib.optionalString stdenv.hostPlatform.isDarwin "apple-darwin";
 in
 # TODO build from source, currently compilation fails on darwin on snmalloc with
 #  ./mem/../ds/../pal/pal_apple.h:277:64: error: use of undeclared identifier 'kCCSuccess'