diff options
author | Artturin <Artturin@artturin.com> | 2022-12-08 21:11:35 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-12-08 21:11:35 +0200 |
commit | 89dc806f131ae9318d47d43befbe9a3ef7f7a765 (patch) | |
tree | 1201530a9738333d2d1aa465ec08b9a5f6cf138d | |
parent | c577eb6892a1128c1dd52846596217653ea87f14 (diff) |
what to do about attrs.env or {} maybe have a empty env attrset always
so no need to use `or`
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index dbaff342fb1af..6a1211f9cc48f 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -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 "" + '' |