about summary refs log tree commit diff
path: root/pkgs/servers/varnish/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/varnish/default.nix')
-rw-r--r--pkgs/servers/varnish/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/varnish/default.nix b/pkgs/servers/varnish/default.nix
index ddc190a2887a..8814bd41e04b 100644
--- a/pkgs/servers/varnish/default.nix
+++ b/pkgs/servers/varnish/default.nix
@@ -32,7 +32,7 @@ let
       '';
 
       # https://github.com/varnishcache/varnish-cache/issues/1875
-      env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isi686 "-fexcess-precision=standard";
+      env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isi686 "-fexcess-precision=standard";
 
       outputs = [ "out" "dev" "man" ];