poetry2nix/tests/watchfiles/default.nix
2023-07-14 21:32:21 +12:00

12 lines
276 B
Nix

{ 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
''