rio: add nixosTests support using terminal-emulators existing set
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
638d2b9324
commit
0a93242075
2 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,9 @@ let tests = {
|
|||
qterminal.pkg = p: p.lxqt.qterminal;
|
||||
qterminal.kill = true;
|
||||
|
||||
rio.pkg = p: p.rio;
|
||||
rio.cmd = "rio -e $command";
|
||||
|
||||
roxterm.pkg = p: p.roxterm;
|
||||
roxterm.cmd = "roxterm -e $command";
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, nixosTests
|
||||
, nix-update-script
|
||||
|
||||
, autoPatchelfHook
|
||||
|
@ -82,6 +83,8 @@ rustPlatform.buildRustPackage rec {
|
|||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
||||
};
|
||||
|
||||
tests.test = nixosTests.terminal-emulators.rio;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue