mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 03:23:17 +00:00
libdict: fix darwin build
This commit is contained in:
parent
52dcc88971
commit
106cf3d281
@ -28,6 +28,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"-DLIBDICT_SHARED=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
|
"-DLIBDICT_SHARED=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
env.NIX_CFLAGS_COMPILE = toString (
|
||||||
|
lib.optionals stdenv.cc.isClang [
|
||||||
|
"-Wno-error=strict-prototypes"
|
||||||
|
"-Wno-error=newline-eof"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user