Re:One Week of NixOS
by soraminazuki on Monday November 09, 2020 @03:38AM
(#25032634)
No, the commenter is grossly misrepresenting the facts here, as is the case with every other point being made in that same comment. The patch in question disables the ability to fetch packages from online sources, requiring you to specify the URL of the required packages and its hash beforehand. Plus, it's not even meant for general use and instead is meant to help with packaging for Nix. For general use, you can very easily use the unmodified build instead.
Cheers
I'll admit (although it annoys me) that I couldn't follow what was going on there. Nix x Erlang's gnarly build system seems like complexity junkie crack to me, but then I'm getting older.
Re:One Week of NixOS
by soraminazuki on Monday November 09, 2020 @08:44PM
(#25042042)
I too initially assumed the commenter was being honest, and it took me a while going through code, commit history, and GitHub issues to realize that this wasn't the case.
> Erlang's gnarly build system
It's actually fine, thanks for a remark.
> requiring you to specify the URL of the required packages and its hash beforehand.
...a different hash.
You see, I naively think that a checksums should not be overwritten when they doesn't match.
Re:One Week of NixOS
by soraminazuki on Tuesday November 10, 2020 @09:20AM
(#25046181)
That's not what I said. It's not about replacing hashes.
> Oh ffs really?
Yes, really. This PR partially reverted this behavior (or rather made it less intrusive): https://github.com/NixOS/nixpkgs/pull/54115/files , but from there you can easily track "rebar3 hermecity patch", which had introduced it.
Oh ffs really? Yeah, that's the kind of hijinks that leave you scratching your head. Thanks for the head's up.