Re:What Is Nix?
by takeda on Thursday May 21, 2020 @12:08PM
(#23260200)
I tried multiple solutions myself, this one is the closest to what I want, because:
- overlays the packages on top of nixpkgs
- understands setup.cfg and can get dependencies from it
It is still not perfect, but when I find some time I think to submit a PR to nixpkgs to improve setupcfg2nix. Particularly it doesn't understand tests_require which you can list dependencies to run unit tests. Nix has equivalent checkDepends.
- overlays the packages on top of nixpkgs - understands setup.cfg and can get dependencies from it
It is still not perfect, but when I find some time I think to submit a PR to nixpkgs to improve setupcfg2nix. Particularly it doesn't understand tests_require which you can list dependencies to run unit tests. Nix has equivalent checkDepends.