sharutils: Fix static build on macOS

This is needed by nixStatic (via libarchive).
This commit is contained in:
Eelco Dolstra 2023-12-18 06:57:38 -08:00
parent 1fc6296f9b
commit 17d12f1bc1

View file

@ -58,6 +58,9 @@ stdenv.mkDerivation rec {
substituteInPlace intl/Makefile.in --replace "AR = ar" ""
'';
# Workaround to fix the static build on macOS.
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
doCheck = true;
meta = with lib; {