diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/admin/lxd')
-rw-r--r-- | nixpkgs/pkgs/tools/admin/lxd/default.nix | 1 | ||||
-rw-r--r-- | nixpkgs/pkgs/tools/admin/lxd/ui.nix | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/admin/lxd/default.nix b/nixpkgs/pkgs/tools/admin/lxd/default.nix index 4a70d2276573..65dd2c70daa2 100644 --- a/nixpkgs/pkgs/tools/admin/lxd/default.nix +++ b/nixpkgs/pkgs/tools/admin/lxd/default.nix @@ -76,6 +76,7 @@ buildGoModule rec { ''; passthru.tests.lxd = nixosTests.lxd; + passthru.tests.lxd-to-incus = nixosTests.incus.lxd-to-incus; passthru.ui = callPackage ./ui.nix { }; passthru.updateScript = gitUpdater { url = "https://github.com/canonical/lxd.git"; diff --git a/nixpkgs/pkgs/tools/admin/lxd/ui.nix b/nixpkgs/pkgs/tools/admin/lxd/ui.nix index 16fdb4c33175..d2110d4c4d7c 100644 --- a/nixpkgs/pkgs/tools/admin/lxd/ui.nix +++ b/nixpkgs/pkgs/tools/admin/lxd/ui.nix @@ -5,6 +5,7 @@ , nodejs , prefetch-yarn-deps , yarn +, nixosTests }: stdenv.mkDerivation rec { @@ -57,8 +58,10 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru.tests.default = nixosTests.lxd.ui; + meta = { - description = "Web user interface for LXD."; + description = "Web user interface for LXD"; homepage = "https://github.com/canonical/lxd-ui"; license = lib.licenses.gpl3; maintainers = lib.teams.lxc.members; |