poetry2nix/tests/watchfiles/default.nix
2022-10-06 16:15:42 +02:00

13 lines
281 B
Nix

{ lib, poetry2nix, python3, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
python = python3;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
};
in
runCommand "watchfiles-test"
{ } ''
${env}/bin/python -c 'from watchfiles import watch'
touch $out
''