mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Fix override test
This commit is contained in:
parent
903b4fcd2b
commit
813175bc19
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{ lib, python3, poetry2nix, runCommand }:
|
||||
|
||||
let
|
||||
python = poetry2nix.mkPoetryPython {
|
||||
p = poetry2nix.mkPoetryPython {
|
||||
python = python3;
|
||||
poetrylock = ./poetry.lock;
|
||||
overrides = poetry2nix.defaultPoetryOverrides // {
|
||||
|
@ -14,7 +14,7 @@ let
|
|||
};
|
||||
in
|
||||
runCommand "test" {} ''
|
||||
x=${builtins.toString (python.pkgs.alembic.TESTING_FOOBAR)}
|
||||
x=${builtins.toString (p.python.pkgs.alembic.TESTING_FOOBAR)}
|
||||
[ "$x" = "42" ] || exit 1
|
||||
mkdir $out
|
||||
''
|
||||
|
|
Loading…
Add table
Reference in a new issue