mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
libmcrypt: fix build on darwin
This commit is contained in:
parent
067db23e36
commit
a9cb4dc2ef
@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration -Wno-implicit-int";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
|
||||
homepage = "https://mcrypt.sourceforge.net";
|
||||
|
Loading…
Reference in New Issue
Block a user