libmcrypt: Fixed missing nmedit on darwin (#15775)

This commit is contained in:
Marc Scholten
2016-05-31 10:18:37 +02:00
committed by Domen Kožar
parent 65ccda5b96
commit 45f9fd8c51

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, disablePosixThreads ? false }:
{ stdenv, fetchurl, darwin, disablePosixThreads ? false }:
with stdenv.lib;
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
};
buildInputs = [];
buildInputs = optional stdenv.isDarwin darwin.cctools;
configureFlags = optional disablePosixThreads
[ "--disable-posix-threads" ];
@@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
homepage = http://mcrypt.sourceforge.net;
license = "GPL";
platforms = platforms.all;
};
}