mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 21:57:52 +03:00
coreutils: set ac_cv_func_lchmod=no
Bumping binutils to 2.32 broke coreutils for unknown reasons[1]. Upon further investigation we found that there was some issue with mknod inside a chroot[2][3], which setting ac_cv_func_lchmod to "no" _somehow_ fixes. We apply this fix and hope to never have to debug this again. Thanks to @flokli and @lnl7 who helped me chase after this and @pbogdan who found the fix in the fedora build. [1]: https://github.com/NixOS/nixpkgs/pull/85951 [2]: https://github.com/NixOS/nixpkgs/pull/85951#issuecomment-619601978 [3]: https://bugzilla.redhat.com/show_bug.cgi?id=1811038
This commit is contained in:
parent
7280b5eef9
commit
c5e3472e20
@ -79,6 +79,7 @@ stdenv.mkDerivation (rec {
|
||||
++ optional (singleBinary != false)
|
||||
("--enable-single-binary" + optionalString (isString singleBinary) "=${singleBinary}")
|
||||
++ optional withOpenssl "--with-openssl"
|
||||
++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no"
|
||||
++ optional stdenv.hostPlatform.isSunOS "ac_cv_func_inotify_init=no"
|
||||
++ optional withPrefix "--program-prefix=g"
|
||||
++ optionals (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.libc == "glibc") [
|
||||
|
Loading…
Reference in New Issue
Block a user