git.iko.soy/typeable/nixpkgs
on master help sign in
ceph: Fix --with-file-aio logic for new meta.platforms and cross
commiteeb8419c6a358a7b8d5a8fa9fc3d0352337196f7 authorJohn Ericson <John.Ericson@Obsidian.Systems> dateFri 9 Mar 2018, 18:22 (9 years ago) parentdde80d7
1 file changed+1−1
pkgs/servers/http/nginx/generic.nix+1−1
pkgs/servers/http/nginx/generic.nix+1−1
@@ -55,7 +55,7 @@ stdenv.mkDerivation {
5555 "--with-mail_ssl_module"
5656 ]
5757 ++ optional (gd != null) "--with-http_image_filter_module"
58− ++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio"
58+ ++ optional (with stdenv.hostPlatform; isLinux || isFreeBSD) "--with-file-aio"
5959 ++ map (mod: "--add-module=${mod.src}") modules;
6060
6161 NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations";