mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 09:41:39 -05:00
17 lines
363 B
Nix
17 lines
363 B
Nix
{ poetry2nix, python3, runCommand }:
|
|
let
|
|
envWheel = poetry2nix.mkPoetryEnv {
|
|
python = python3;
|
|
projectDir = ./.;
|
|
preferWheels = true;
|
|
};
|
|
env = poetry2nix.mkPoetryEnv {
|
|
python = python3;
|
|
projectDir = ./.;
|
|
};
|
|
in
|
|
runCommand "jake-test" { } ''
|
|
${envWheel}/bin/python -c 'import jake'
|
|
${env}/bin/python -c 'import jake'
|
|
touch $out
|
|
''
|