diff options
author | Robin Gloster <mail@glob.in> | 2017-02-27 14:38:57 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-02-27 15:22:45 +0100 |
commit | 65a2e307f0fb19874ae591c72195b7b301464848 (patch) | |
tree | a2eb0cf36ea75b1451b18530909294dfc82a95ae /pkgs/servers | |
parent | 27798152e3d21bd2065124666777c1c2c69cbc10 (diff) |
varnish: fix i686 build
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/varnish/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/varnish/default.nix b/pkgs/servers/varnish/default.nix index fc5a744ad46dc..e1376a6c59f5d 100644 --- a/pkgs/servers/varnish/default.nix +++ b/pkgs/servers/varnish/default.nix @@ -18,6 +18,9 @@ stdenv.mkDerivation rec { buildFlags = "localstatedir=/var/spool"; + # https://github.com/varnishcache/varnish-cache/issues/1875 + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isi686 "-fexcess-precision=standard"; + outputs = [ "out" "dev" "man" ]; meta = with stdenv.lib; { |