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
|
@ -72,6 +72,9 @@ let tests = {
|
||||||
qterminal.pkg = p: p.lxqt.qterminal;
|
qterminal.pkg = p: p.lxqt.qterminal;
|
||||||
qterminal.kill = true;
|
qterminal.kill = true;
|
||||||
|
|
||||||
|
rio.pkg = p: p.rio;
|
||||||
|
rio.cmd = "rio -e $command";
|
||||||
|
|
||||||
roxterm.pkg = p: p.roxterm;
|
roxterm.pkg = p: p.roxterm;
|
||||||
roxterm.cmd = "roxterm -e $command";
|
roxterm.cmd = "roxterm -e $command";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
, nixosTests
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
|
||||||
, autoPatchelfHook
|
, autoPatchelfHook
|
||||||
|
@ -82,6 +83,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
updateScript = nix-update-script {
|
updateScript = nix-update-script {
|
||||||
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tests.test = nixosTests.terminal-emulators.rio;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue