News for hackers. Stuff that matters.
Re:My First Impressions of Nix by goodpoint on Monday June 19, 2023 @07:32AM (#36389808)
Wasn't Nix supposed to solve these problems?
Re:My First Impressions of Nix by Filligree on Monday June 19, 2023 @08:05AM (#36390086)
And it does, for most languages. Python seems more difficult than average.
Re:My First Impressions of Nix by the_gipsy on Monday June 19, 2023 @08:15AM (#36390188)
Yea python is the exception. Go, rust, nodejs, have been easy to get running with specific versions and dev envs .
Re:My First Impressions of Nix by goodpoint on Monday June 19, 2023 @09:42AM (#36391020)
...and yet there's tons of Python packaged in traditional distributions including Django.

So it's not clear what the real benefit of Nix is.

Re:My First Impressions of Nix by the_gipsy on Monday June 19, 2023 @09:56AM (#36391143)
Nix hasn't been a benefit when working with python for me, but again, python is the outlier. It has been a benefit for projects in other languages.

I guess the reason is because python packaging/tooling varies wildly between projects, and there are a lot of bindings.

BTW a colleague was setting up the python project on a non-nix machine, and also had problems with dependencies, and ultimately had to do some nasty workarounds (disabling deps/features). To me, it seems endemic.

Re:My First Impressions of Nix by earthling8118 on Monday June 19, 2023 @01:10PM (#36393623)
There's plenty of python packaged in nixpkgs too. It doesn't mean that it isn't a dumpster fire disaster. Dealing with it has been trouble with every other distro I've used. It isn't just a nix problem. If anything I think the situation is improved.
Re:My First Impressions of Nix by kaba0 on Monday June 19, 2023 @09:18AM (#36390753)
It does. Nix can package everything properly. What is depending on the language ecosystem in question is whether this packaging can be more automized or not.

Python is not trivially automatized with Nix.