News for hackers. Stuff that matters.
Re:Nix-Powered Development with OCaml by jon-wood on Monday March 06, 2023 @12:24PM (#35043903)
As someone who recently picked up Nix and isn’t using flakes the reason for that is that none of the official documentation seemed to be saying it was a good idea, and all I could find to the contrary was random blog posts, none of which actually explained what on Earth a flake is. I think I vaguely understand them now, but I’m hesitant to rip out the setup I’ve eventually got to and replace it with the new hotness just for the sake of it.
Re:Nix-Powered Development with OCaml by colordrops on Monday March 06, 2023 @02:06PM (#35046004)
It is pretty old for being the "new hotness". It allows me to idiomatically and completely encapsulate my system declaratively in config. Nix isn't complete without this IMO.
Re:Nix-Powered Development with OCaml by Nullabillity on Monday March 06, 2023 @06:55PM (#35049615)
You could do the same before with Niv. The new flake.nix format is pretty awful too (why do I need to declare every supported target triple separately?!).