about summary refs log tree commit diff
path: root/nixos/tests/installed-tests
diff options
context:
space:
mode:
authorElXreno <elxreno@gmail.com>2022-07-07 20:05:25 +0300
committerElXreno <elxreno@gmail.com>2022-07-07 21:07:21 +0300
commit4eeaca86fdc4158db8fb5677d48149675a61929e (patch)
tree7f47b4bce0bc2bd5b6278ab139c853b06b253696 /nixos/tests/installed-tests
parent95f9a70b481464e3d64743ad5f4c481cc1a77e9e (diff)
nixosTests.installed-tests.flatpak-builder: fix tests
This commit fixes the following error:
       Failed assertions:
       - Setting xdg.portal.enable to true requires a portal implementation in xdg.portal.extraPortals such as xdg-desktop-portal-gtk or xdg-desktop-portal-kde.
Diffstat (limited to 'nixos/tests/installed-tests')
-rw-r--r--nixos/tests/installed-tests/flatpak-builder.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/installed-tests/flatpak-builder.nix b/nixos/tests/installed-tests/flatpak-builder.nix
index 31b9f2b258fdf..41f4060fb69e5 100644
--- a/nixos/tests/installed-tests/flatpak-builder.nix
+++ b/nixos/tests/installed-tests/flatpak-builder.nix
@@ -6,6 +6,7 @@ makeInstalledTest {
   testConfig = {
     services.flatpak.enable = true;
     xdg.portal.enable = true;
+    xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
     environment.systemPackages = with pkgs; [ flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
     virtualisation.diskSize = 2048;
   };