I’m experiencing a most peculiar issue when trying to add a flake.nix
to a Python package:
I mostly copied Nixpkgs’ default.nix
to a file I called ./pkg.nix
in the package’s repository. Now I use in flake.nix
:
packages = {
scipy = pkgs.python3.pkgs.callPackage ./pkg.nix args;
};
In pkg.nix
I have:
nativeCheckInputs = [ nose pytest pytest-xdist ];
As in Nixpkgs, and from some reason, e.g pytest
is not available for the builder’s python. Nixpkgs’ build succeeds, so I conclude that no such issue is present there. The full Nix code is here:
And here:
Help will be appreciated!