mcrypt: fix build on darwin

This commit is contained in:
Simon Žlender 2023-11-25 20:48:00 +01:00
parent a9cb4dc2ef
commit 986d96a355

View file

@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
buildInputs = [ libmcrypt libmhash ];
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
};
meta = {
description = "Replacement for old UNIX crypt(1)";
longDescription = ''