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"];