mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
ceph: Fix --with-file-aio logic for new meta.platforms and cross
This commit is contained in:
parent
dde80d705e
commit
eeb8419c6a
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue