mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
ubus: fix build on x86_64-darwin
This commit is contained in:
parent
f7cfebad69
commit
0400fc2531
@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ libubox libjson ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
|
||||
"-Wno-error=gnu-folding-constant"
|
||||
]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenWrt system message/RPC bus";
|
||||
homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary";
|
||||
|
Loading…
Reference in New Issue
Block a user