summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-03-09 18:22:57 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-03-12 18:55:41 -0400
commiteeb8419c6a358a7b8d5a8fa9fc3d0352337196f7 (patch)
treee079e83a6219ed4ea41e156dd5bbb2ce314bc739 /pkgs
parentdde80d705e4b47e8ad7774037533e46ad1f7d53c (diff)
downloadnixpkgs-eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7.tar
nixpkgs-eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7.tar.gz
nixpkgs-eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7.tar.bz2
nixpkgs-eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7.tar.lz
nixpkgs-eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7.tar.xz
nixpkgs-eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7.tar.zst
nixpkgs-eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7.zip
ceph: Fix --with-file-aio logic for new meta.platforms and cross
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/servers/http/nginx/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix
index de30870bee8..ff0a4c65b4a 100644
--- a/pkgs/servers/http/nginx/generic.nix
+++ b/pkgs/servers/http/nginx/generic.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation {
     "--with-mail_ssl_module"
   ]
     ++ optional (gd != null) "--with-http_image_filter_module"
-    ++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio"
+    ++ optional (with stdenv.hostPlatform; isLinux || isFreeBSD) "--with-file-aio"
     ++ map (mod: "--add-module=${mod.src}") modules;
 
   NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations";