3 ms·
> As a random example, I googled "packaging python for nix" and the top result [1] is just way too complex for something that should be pretty simple. Aware th
by LorenzoGood 2y ago
> As a random example, I googled "packaging python for nix" and the top result [1] is just way too complex for something that should be pretty simple.
Aware that this is more of a critique about the documentation situation, as opposed to the python packaging situation. However, there is poetry2nix[1]. Which makes packaging look something like this:
myPythonApp = mkPoetryApplication { projectDir = ./.; };
[1](https://github.com/nix-community/poetry2nix)(although https://github.com/nix-community/poetry2nix)(although it has been merged into nixpkgs master)
- p_l 2y agopoetry2nix has actually been deprecated[1], and is in my experience subtly broken, as is the entire python packaging mechanism in Nix[2]. So we're now getting yet another attempt, this time called pyproject-nix[3]. I'm now considering taking similar stab with common lisp packaging, because the amount of time I lost fighting Nix trying to run a development environment is making me reconsider using Nix at all. [1] https://github.com/nix-community/poetry2nix#:~:text=announcement%20post.-,Maintenance%20status%3A,%E2%9A%A0%EF%B8%8F,-The%20creator%20%26%20long https://github.com/nix-community/poetry2nix#:~:text=announce... [2] https://pyproject-nix.github.io/pyproject.nix/build.html https://pyproject-nix.github.io/pyproject.nix/build.html [3] https://pyproject-nix.github.io/pyproject.nix https://pyproject-nix.github.io/pyproject.nix
- LorenzoGood 2y agoFor a development environment, you could just pull in the poetry package from nixpkgs. > I'm now considering taking similar stab with common lisp packaging. For nix? Also, thanks for contributing.
- p_l 2y agoYes - the complaints about python builders in nixpkgs apply as well to common lisp packaging even if implementation details differ