mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 09:41:39 -05:00
ref: format test
This commit is contained in:
parent
eb4dc7d92b
commit
962f1a5992
1 changed files with 5 additions and 4 deletions
|
@ -19,8 +19,9 @@ let
|
|||
{ } ''
|
||||
"${app}/bin/test" >$out
|
||||
'';
|
||||
is_wheel_attr_test = x: lib.warnIf (!url_is_wheel)
|
||||
"url should resolve to have src with .isWheel, likely darwin only issue" x;
|
||||
is_wheel_attr_test = x: lib.warnIf (!url_is_wheel)
|
||||
"url should resolve to have src with .isWheel, likely darwin only issue"
|
||||
x;
|
||||
is_wheel_test = x: assert lib.strings.hasSuffix "whl" url_nix_store; x;
|
||||
# HACK: CI fails because https://github.com/nix-community/poetry2nix/pull/1109
|
||||
# seems to want libcuda to be installed/managed separately, run it on impure
|
||||
|
@ -28,8 +29,8 @@ let
|
|||
integration_run_test = x: assert (builtins.readFile output) == "Dies ist ein Testsatz.\n"; x;
|
||||
app_builds = x: assert lib.isDerivation app; x;
|
||||
|
||||
constraintOutput = x: lib.pipe x [is_wheel_attr_test is_wheel_test app_builds];
|
||||
constraintOutput = x: lib.pipe x [ is_wheel_attr_test is_wheel_test app_builds ];
|
||||
|
||||
in
|
||||
constraintOutput
|
||||
constraintOutput
|
||||
app
|
||||
|
|
Loading…
Add table
Reference in a new issue