mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
f4ea1208ec
*Flags implies a list slightly relevant: > stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172 the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so it's not a breaking change
16 lines
440 B
Nix
16 lines
440 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" ];
|
|
}
|