mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 17:21:39 -05:00
9 lines
223 B
Nix
9 lines
223 B
Nix
{ lib, poetry2nix, python3, runCommand }:
|
|
let env = poetry2nix.mkPoetryEnv {
|
|
python = python3;
|
|
poetrylock = ./poetry.lock;
|
|
};
|
|
in runCommand "env-test" {} ''
|
|
${env}/bin/python -c 'import alembic'
|
|
touch $out
|
|
''
|