diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/misc/aescrypt/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/misc/aescrypt/default.nix b/pkgs/tools/misc/aescrypt/default.nix index d1125d572ee99..fea924d0fb05f 100644 --- a/pkgs/tools/misc/aescrypt/default.nix +++ b/pkgs/tools/misc/aescrypt/default.nix @@ -9,7 +9,10 @@ stdenv.mkDerivation rec { sha256 = "1a1rs7xmbxh355qg3v02rln3gshvy3j6wkx4g9ir72l22mp6zkc7"; }; + NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv"; + preBuild = '' + substituteInPlace src/Makefile --replace "CC=gcc" "CC?=gcc" cd src ''; @@ -27,6 +30,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2; maintainers = with maintainers; [ lovek323 qknight ]; platforms = stdenv.lib.platforms.all; - hydraPlatforms = stdenv.lib.platforms.linux; + hydraPlatforms = with platforms; unix; }; } |