diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix index 75e9a6acbaca..be5f83941aad 100644 --- a/pkgs/development/compilers/ecl/default.nix +++ b/pkgs/development/compilers/ecl/default.nix @@ -16,7 +16,8 @@ rec { "--enable-threads" ] ++ - (a.lib.optional (! a.noUnicode) "--enable-unicode") + (a.lib.optional (! (a.lib.attrByPath ["noUnicode"] false a)) + "--enable-unicode") ; /* doConfigure should be removed if not needed */