Commit a57dbc29 authored by Simon Žlender's avatar Simon Žlender Committed by github-actions[bot]
Browse files

libmcrypt: fix build on darwin

(cherry picked from commit a9cb4dc2)
parent d572fb05
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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";