News for hackers. Stuff that matters.
Re:Building Go Programs with Nix Flakes by theptip on Wednesday December 14, 2022 @12:47PM (#33986969)
Does https://pypi.org/project/pypi2nix/ work?

Now that pip supports pinning with a sha (I say “now that”, this was added years ago but it wasn’t always thus), it seems it should be trivial to map onto the Nix model.

I have been working with poetry and playing with poetry2nix so haven’t tried raw pip requirements files with Nix.

Re:Building Go Programs with Nix Flakes by aidenn0 on Wednesday December 14, 2022 @04:10PM (#33990609)
If I were a better engineer, I'd have recorded a list of all the things I tried, but I didn't. Most of them ended in the substring "2nix" but the names kind of blur together so I can't definitively say I tried it. I have some free time on the 23rd and may see if pypi2nix works with the project or not, and file a bug if it doesn't.