about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-02-25 20:09:27 +0800
committerBobby Rong <rjl931189261@126.com>2022-03-02 11:28:29 +0800
commitb3d4c1d48f4bb8ac17ff5252707f960c0a06a07f (patch)
tree93c64dcbd3cdef7fedc943f934206ded0569ced4 /nixos
parentc942cd7b2eac6e2851b7b603f46e1347bf681e10 (diff)
downloadnixlib-b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f.tar
nixlib-b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f.tar.gz
nixlib-b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f.tar.bz2
nixlib-b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f.tar.lz
nixlib-b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f.tar.xz
nixlib-b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f.tar.zst
nixlib-b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f.zip
nixosTests.installed-tests.appstream-qt: init
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/installed-tests/appstream-qt.nix9
-rw-r--r--nixos/tests/installed-tests/default.nix1
2 files changed, 10 insertions, 0 deletions
diff --git a/nixos/tests/installed-tests/appstream-qt.nix b/nixos/tests/installed-tests/appstream-qt.nix
new file mode 100644
index 000000000000..d08187bfe466
--- /dev/null
+++ b/nixos/tests/installed-tests/appstream-qt.nix
@@ -0,0 +1,9 @@
+{ pkgs, makeInstalledTest, ... }:
+
+makeInstalledTest {
+  tested = pkgs.libsForQt5.appstream-qt;
+
+  testConfig = {
+    appstream.enable = true;
+  };
+}
diff --git a/nixos/tests/installed-tests/default.nix b/nixos/tests/installed-tests/default.nix
index e6e1386a3731..079fd54e71e5 100644
--- a/nixos/tests/installed-tests/default.nix
+++ b/nixos/tests/installed-tests/default.nix
@@ -85,6 +85,7 @@ in
 
 {
   appstream = callInstalledTest ./appstream.nix {};
+  appstream-qt = callInstalledTest ./appstream-qt.nix {};
   colord = callInstalledTest ./colord.nix {};
   flatpak = callInstalledTest ./flatpak.nix {};
   flatpak-builder = callInstalledTest ./flatpak-builder.nix {};