mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixosTest.lact: init
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
parent
81fc14bc5e
commit
202780360b
3 changed files with 23 additions and 0 deletions
|
@ -714,6 +714,7 @@ in
|
|||
kthxbye = runTest ./kthxbye.nix;
|
||||
kubernetes = handleTestOn [ "x86_64-linux" ] ./kubernetes { };
|
||||
kubo = import ./kubo { inherit recurseIntoAttrs runTest; };
|
||||
lact = runTest ./lact.nix;
|
||||
ladybird = runTest ./ladybird.nix;
|
||||
languagetool = runTest ./languagetool.nix;
|
||||
lanraragi = runTest ./lanraragi.nix;
|
||||
|
|
18
nixos/tests/lact.nix
Normal file
18
nixos/tests/lact.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
name = "lact";
|
||||
meta = {
|
||||
inherit (pkgs.lact.meta) maintainers;
|
||||
};
|
||||
|
||||
nodes.machine =
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.lact.enable = true;
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
machine.wait_for_unit("lactd.service")
|
||||
machine.wait_for_file("/run/lactd.sock")
|
||||
'';
|
||||
}
|
|
@ -14,6 +14,7 @@
|
|||
coreutils,
|
||||
systemdMinimal,
|
||||
nix-update-script,
|
||||
nixosTests,
|
||||
hwdata,
|
||||
fuse3,
|
||||
autoAddDriverRunpath,
|
||||
|
@ -117,6 +118,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) lact;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Linux GPU Configuration Tool for AMD and NVIDIA";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue