devpod: fix tests
eval
Without the change `tests` eval failed as: $ nix build --no-link -f. devpod.tests error: error: value is a string while a set was expected The failure reason is in `package` parameter. It should be a derivation, not a package name. While at it fixed the command to extract version.
This commit is contained in:
parent
01962add7e
commit
39adbc5456
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ rec {
|
|||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = pname;
|
||||
package = devpod;
|
||||
command = "devpod version";
|
||||
version = "v${version}";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue