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

mcrypt: fix build on darwin

(cherry picked from commit 986d96a3)
parent a57dbc29
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 = ''