From 45f9fd8c51313f9100ebfbcd2147700dec19364a Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Tue, 31 May 2016 10:18:37 +0200 Subject: [PATCH] libmcrypt: Fixed missing nmedit on darwin (#15775) --- pkgs/development/libraries/libmcrypt/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libmcrypt/default.nix b/pkgs/development/libraries/libmcrypt/default.nix index afa661617318..2ce11b998a1a 100644 --- a/pkgs/development/libraries/libmcrypt/default.nix +++ b/pkgs/development/libraries/libmcrypt/default.nix @@ -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; }; }