nix-community/pypi2nix

nix-shell fails to evaluate

Opened this issue · 0 comments

README.md mentioned that pypi requires latest version of nixpkgs,

pypi2nix will (until further notice) only work with latest unstable
channel. This is due to ongoing changes in Python infrastructure happening in
Nixpkgs.

but I can't get it working even with latest master commit. Any chance to do
some kind of version pinning?

:; NIX_PATH=$home/devel builtin nix-shell
error: anonymous function at /home/kaction/devel/nixpkgs/pkgs/top-level/python-p
ackages.nix:9:1 called without required argument 'lib'

       at /home/kaction/devel/pypi2nix/requirements.nix:18:3:

           17|   pythonPackages =
           18|   import "${toString pkgs.path}/pkgs/top-level/python-packages.ni
x" {
             |   ^
           19|     inherit pkgs;
(use '--show-trace' to show detailed location information)

+; git log --format=%H -1
9fb7d91888fa24a7f96fd1915da2d4bc5e9b834e
+; pwd
/home/kaction/devel/nixpkgs