News for hackers. Stuff that matters.
Re:Nix and NixOS, my pain points by delroth on Sunday December 25, 2022 @09:01AM (#34127287)
As usual for ChatGPT this is full of mistakes and bad code. The buildPhase and installPhase it writes are completely unnecessary and worse than the default, the configurePhase might work in some cases but most likely won't, and it's unnecessary when instead autoreconfHook should be used, stdenv/autoconf should be taken as an argument for the function returning the derivation, autoconf should be a nativeBuildInput, make is already in stdenv, etc.
Re:Nix and NixOS, my pain points by toastal on Sunday December 25, 2022 @12:54PM (#34129380)
You're also supposed to call the pre and post hooks for these phases.
Re:Nix and NixOS, my pain points by Rexogamer on Monday December 26, 2022 @06:45AM (#34136880)
More fundamentally, even if the code produced by ChatGPT worked and was high-quality, why should a new user have to rely on a chatbot instead of useful/up-to-date tutorials and guides?