mcrypt: fix build on darwin
This commit is contained in:
parent
a9cb4dc2ef
commit
986d96a355
1 changed files with 4 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue