forked from lix-project/nix-eval-jobs
Use python3.withPackages to pull in pytest
Using the other method leaks into PYTHONPATH.
This commit is contained in:
parent
fc1ef1e4cb
commit
b92dfbba57
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@
|
|||
defaultPackage = self.packages.${system}.hydra-eval-jobs;
|
||||
devShell = defaultPackage.overrideAttrs (old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [
|
||||
pkgs.python3.pkgs.pytest
|
||||
(pkgs.python3.withPackages(ps: [
|
||||
ps.pytest
|
||||
]))
|
||||
];
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue