mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -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 }:
|
{ lib, python3, poetry2nix, runCommand }:
|
||||||
|
|
||||||
let
|
let
|
||||||
python = poetry2nix.mkPoetryPython {
|
p = poetry2nix.mkPoetryPython {
|
||||||
python = python3;
|
python = python3;
|
||||||
poetrylock = ./poetry.lock;
|
poetrylock = ./poetry.lock;
|
||||||
overrides = poetry2nix.defaultPoetryOverrides // {
|
overrides = poetry2nix.defaultPoetryOverrides // {
|
||||||
|
@ -14,7 +14,7 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
runCommand "test" {} ''
|
runCommand "test" {} ''
|
||||||
x=${builtins.toString (python.pkgs.alembic.TESTING_FOOBAR)}
|
x=${builtins.toString (p.python.pkgs.alembic.TESTING_FOOBAR)}
|
||||||
[ "$x" = "42" ] || exit 1
|
[ "$x" = "42" ] || exit 1
|
||||||
mkdir $out
|
mkdir $out
|
||||||
''
|
''
|
||||||
|
|
Loading…
Add table
Reference in a new issue