mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
librist: fix darwin build
https://hydra.nixos.org/build/346613734/step/6/log
This commit is contained in:
@@ -35,7 +35,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
# glibc 2.43 C23 const-preserving strchr/strstr macros
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=discarded-qualifiers";
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=discarded-qualifiers";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cjson
|
||||
|
||||
Reference in New Issue
Block a user