←back to thread

555 points maheshrijal | 1 comments | | HN request time: 0s | source
Show context
erikw ◴[] No.43709152[source]
Interesting... I asked o3 for help writing a flake so I could install the latest Webstorm on NixOS (since the one in the package repo is several months old), and it looks like it actually spun up a NixOS VM, downloaded the Webstorm package, wrote the Flake, calculated the SHA hash that NixOS needs, and wrote a test suite. The test suite indicates that it even did GUI testing- not sure whether that is a hallucination or not though. Nevertheless, it one-shotted the installation instructions for me, and I don't see how it could have calculated the package hash without downloading, so I think this indicates some very interesting new capabilities. Highly impressive.
replies(5): >>43709469 #>>43709535 #>>43710231 #>>43713910 #>>43714068 #
peterldowns ◴[] No.43709469[source]
If it can write a nixos flake it's significantly smarter than the average programmer. Certainly smarter than me, one-shotting a flake is not something I'll ever be able to do — usually takes me about thirty shots and a few minutes to cool off from how mad I am at whoever designed this fucking idiotic language. That's awesome.
replies(3): >>43709668 #>>43709855 #>>43711694 #
ZeroTalent ◴[] No.43709855[source]
I was a major contributor of Flake. What in particular is so idiotic in your opinion?
replies(2): >>43709901 #>>43709996 #
1. yjftsjthsd-h ◴[] No.43709901{3}[source]
FWIW, they said the language was bad, not specifically flakes. IMHO, nix is super easy if you already know Haskell (possibly others in that family). If you don't, it's extremely unintuitive.