about summary refs log tree commit diff
path: root/pkgs/tools/misc/aescrypt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/aescrypt/default.nix')
-rw-r--r--pkgs/tools/misc/aescrypt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/aescrypt/default.nix b/pkgs/tools/misc/aescrypt/default.nix
index 67739f575169..2517724c8c39 100644
--- a/pkgs/tools/misc/aescrypt/default.nix
+++ b/pkgs/tools/misc/aescrypt/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-4uGS0LReq5dI7+Wel7ZWzFXx+utZWi93q4TUSw7AhNI=";
   };
 
-  NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-liconv";
+  NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-liconv";
 
   preBuild = ''
     substituteInPlace src/Makefile --replace "CC=gcc" "CC?=gcc"