From 98c282d12b66ba952bd832b267473adac129d4fa Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 26 Feb 2010 07:02:18 +0000 Subject: [PATCH] Make Unicode support optional svn path=/nixpkgs/trunk/; revision=20261 --- pkgs/development/compilers/ecl/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix index 7692811e8d6a..75e9a6acbaca 100644 --- a/pkgs/development/compilers/ecl/default.nix +++ b/pkgs/development/compilers/ecl/default.nix @@ -14,8 +14,10 @@ rec { inherit buildInputs propagatedBuildInputs; configureFlags = [ "--enable-threads" - "--enable-unicode" - ]; + ] + ++ + (a.lib.optional (! a.noUnicode) "--enable-unicode") + ; /* doConfigure should be removed if not needed */ phaseNames = ["doConfigure" "doMakeInstall" "fixEclConfig"];