summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-06-16 01:39:09 +0200
committerGitHub <noreply@github.com>2019-06-16 01:39:09 +0200
commitc96ee919cf1fb7e13c6638143545cd0326c3ac04 (patch)
tree0a485cd21a0b6cc5c5b29e6af2c123d81c17d4b8 /nixos
parent46ce40ba6a6f03d02d9ab7cad984c62baf488d6e (diff)
parentccc6ffe2dc14ab961857f50e51119026a69a8dac (diff)
downloadnixpkgs-c96ee919cf1fb7e13c6638143545cd0326c3ac04.tar
nixpkgs-c96ee919cf1fb7e13c6638143545cd0326c3ac04.tar.gz
nixpkgs-c96ee919cf1fb7e13c6638143545cd0326c3ac04.tar.bz2
nixpkgs-c96ee919cf1fb7e13c6638143545cd0326c3ac04.tar.lz
nixpkgs-c96ee919cf1fb7e13c6638143545cd0326c3ac04.tar.xz
nixpkgs-c96ee919cf1fb7e13c6638143545cd0326c3ac04.tar.zst
nixpkgs-c96ee919cf1fb7e13c6638143545cd0326c3ac04.zip
flatpak-builder: 1.0.6 -> 1.0.7 (#62413)
flatpak-builder: 1.0.6 -> 1.0.7
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/all-tests.nix1
-rw-r--r--nixos/tests/flatpak-builder.nix19
2 files changed, 20 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 3872970343a..359f62751b9 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -83,6 +83,7 @@ in
   fish = handleTest ./fish.nix {};
   flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {};
   flatpak = handleTest ./flatpak.nix {};
+  flatpak-builder = handleTest ./flatpak-builder.nix {};
   fsck = handleTest ./fsck.nix {};
   fwupd = handleTestOn ["x86_64-linux"] ./fwupd.nix {}; # libsmbios is unsupported on aarch64
   gdk-pixbuf = handleTest ./gdk-pixbuf.nix {};
diff --git a/nixos/tests/flatpak-builder.nix b/nixos/tests/flatpak-builder.nix
new file mode 100644
index 00000000000..2100631ec7f
--- /dev/null
+++ b/nixos/tests/flatpak-builder.nix
@@ -0,0 +1,19 @@
+# run installed tests
+import ./make-test.nix ({ pkgs, ... }:
+
+{
+  name = "flatpak-builder";
+  meta = {
+    maintainers = pkgs.flatpak-builder.meta.maintainers;
+  };
+
+  machine = { pkgs, ... }: {
+    services.flatpak.enable = true;
+    environment.systemPackages = with pkgs; [ gnome-desktop-testing flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
+    virtualisation.diskSize = 2048;
+  };
+
+  testScript = ''
+    $machine->succeed("gnome-desktop-testing-runner -d '${pkgs.flatpak-builder.installedTests}/share' --timeout 3600");
+  '';
+})