rio: add nixosTests support using terminal-emulators existing set

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-07-16 17:45:04 -03:00 committed by Anderson Torres
parent 638d2b9324
commit 0a93242075
2 changed files with 6 additions and 0 deletions

View file

@ -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";

View file

@ -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 = {