4 ms·
I wish this was a "simply" answer! Been getting more into nix lately and really enjoying it, but converting python to nix has been a challenge. It seems like t
by n8henrie 4y ago
I wish this was a "simply" answer! Been getting more into nix lately and really enjoying it, but converting python to nix has been a challenge.
It seems like the existing and recommended suggestions are either deprecated / unmaintained or still alpha at best (pip2nix, mach-nix, dream2nix).
https://discourse.nixos.org/t/basic-flake-run-existing-pytho https://discourse.nixos.org/t/basic-flake-run-existing-pytho...
- pmarreck 4y agoWell one way of going about it is a hybrid solution. So you set up your python dev directory with a nix file, but then you use pyenv or whatever to encapsulate everything else inside it using python tooling. So it's not strictly Nix-all-the-way-down, but at least as far as being in the directory is concerned, the "right" python version and libraries are available.