mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
4eeaca86fd
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.
16 lines
434 B
Nix
16 lines
434 B
Nix
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
makeInstalledTest {
|
|
tested = pkgs.flatpak-builder;
|
|
|
|
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;
|
|
};
|
|
|
|
testRunnerFlags = "--timeout 3600";
|
|
}
|