From 561bb69e3299925bfdc6404483ff4a1b7236a1c9 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 30 May 2024 11:43:16 +0200 Subject: [PATCH] dict: fix build on darwin --- pkgs/servers/dict/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/dict/default.nix b/pkgs/servers/dict/default.nix index ea7cb80b8fc0..a85b6f8b88c5 100644 --- a/pkgs/servers/dict/default.nix +++ b/pkgs/servers/dict/default.nix @@ -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 '';