Merge pull request #315848 from wegank/dict-darwin

dict: fix build on darwin
This commit is contained in:
Nikolay Korotkiy 2024-05-30 17:27:50 +04:00 committed by GitHub
commit c095274ad8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
"--sysconfdir=/etc"
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-error=implicit-function-declaration"
]);
postInstall = ''
install -Dm444 -t $out/share/doc/${pname} NEWS README
'';