3 ms·
Nixpkgs has a PR for replacing the build environment of packages with uutils-coreutils[0]. From testing by building various packages over a dozen bugs were rep
by siraben 5y ago
Nixpkgs has a PR for replacing the build environment of packages with uutils-coreutils[0]. From testing by building various packages over a dozen bugs were reported upstream, but a lot of software does build successfully with uutils[1][2], after upstream fixes, including chromium, vlc, nix, rustc, emacs, vim, uutils itself etc.
It's an interesting experiment to replace such a fundamental dependency with a rewrite. A lot of the build failures are due to uutils not implementing GNU extensions, some of which can get pretty involved.
[0] https://github.com/NixOS/nixpkgs/pull/116274 https://github.com/NixOS/nixpkgs/pull/116274
[1] https://github.com/NixOS/nixpkgs/pull/116274#issuecomment-850950790 https://github.com/NixOS/nixpkgs/pull/116274#issuecomment-85...
[2] https://github.com/NixOS/nixpkgs/pull/116274#issuecomment-862131908 https://github.com/NixOS/nixpkgs/pull/116274#issuecomment-86...
- yjftsjthsd-h 5y agoI'm not quite sure I follow; is this a proposal to actually use this in nix, or just a PoC that it could work?
- siraben 5y agoThe latter! If merged the package set that uses uutils for stdenv would be accessible via an overlay (similar to the cross-compilation infra we have), so one could build pkgsUutils.hello to build GNU Hello, for instance.
- deleted 5y ago[deleted]