what to do about attrs.env or {} maybe have a empty env attrset always

so no need to use `or`
This commit is contained in:
Artturin 2022-12-08 21:11:35 +02:00
parent c577eb6892
commit 89dc806f13

View file

@ -249,7 +249,7 @@ in
# Apparently iconv won't work with bootstrap glibc, but it will be used
# with glibc built later where we keep *this* build of libunistring,
# so we need to trick it into supporting libiconv.
am_cv_func_iconv_works = "yes";
env = attrs.env or {} // { am_cv_func_iconv_works = "yes"; };
});
libidn2 = super.libidn2.overrideAttrs (attrs: {
postFixup = attrs.postFixup or "" + ''