DavHau / mach-nix

Create highly reproducible python environments
MIT License
858 stars 105 forks source link

Add `testRequirements` as an equivalent for `checkInputs` in nixpkgs. #316

Open DavHau opened 3 years ago

DavHau commented 3 years ago

While reviewing: https://github.com/ngi-nix/deltabot/blob/1b3f321c77705e69c972b6cbc8cd24a7b9f74cb5/flake.nix ... I noticed that the python dependencies specified via requirements are not available during checkPhase.

DavHau commented 3 years ago

Turned out to be a typo. Still we do not have separation between normal requirements and test requirements yet. That should be added to mach-nix. (we cannot put nixpkgs' python modules in checkInputs, as this will likely result in conflicts)