When running nixos-rebuild on the latest nixpkgs master, the following error message is output
building '/nix/store/yhd3kly8gxlpcw69x20qdqvwzw7k6z88-bootstrap-stage0-binutils-wrapper.drv'...
unpacking sources
/nix/store/5kl50dlpxi8cb90vjb95rk2ck26p7zmd-bootstrap-stage0-stdenv-linux/setup: line 1302: $'\r': command not found
builder for '/nix/store/yhd3kly8gxlpcw69x20qdqvwzw7k6z88-bootstrap-stage0-binutils-wrapper.drv' failed with exit code 127
cannot build derivation '/nix/store/k6fn437ag7brsgajp04nfc6w6grxyyzl-bootstrap-stage1-gcc-wrapper.drv': 1 dependencies couldn't be built
Haven't yet bisected, will when I get the chance
Well, it did build on Hydra, apparently, though it might still be some non-deterministic problem that we do want to fix.
After trying to bisect, it seems that my system is having this same error even on old commits that I successfully built before :( Since I'm not entirely sure if this is a problem that is affecting nixpkgs in general, or if I just broke something on my system somewhere along the line, I will close this issue for now
Aha. 100% an error on my part, I changed my global git config line ending settings and that messed everything up. Fixed now!
Oh, I wouldn't expect that to be so dangerous :-)