With a derivation generated by pypi2nix and with an empty nix store, nix-env fails:
nix-env -f default.nix -q -a
error: cannot import '/nix/store/daxah6fdy30gb54s92qy3fp6d1hz78kh-source/overrides.nix', since path '/nix/store/07n6nx9pjaqals3d722ds1pr25w8zqaj-source.drv' is not valid, at /pypi2nixPackage/requirements.nix:1509:219
(use '--show-trace' to show detailed location information)
With a derivation generated by
pypi2nix
and with an empty nix store,nix-env
fails:Looks like it's due to:
I guess
pkgs.fetchFromGitHub
can't be used at eval time ?Using
builtins.fetchTarball
instead ofpkgs.fetchFromGitHub
fixes the issue.