mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03: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
18 lines
441 B
Nix
18 lines
441 B
Nix
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
makeInstalledTest {
|
|
tested = pkgs.flatpak;
|
|
withX11 = true;
|
|
|
|
testConfig = {
|
|
xdg.portal.enable = true;
|
|
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
services.flatpak.enable = true;
|
|
environment.systemPackages = with pkgs; [ gnupg ostree python3 ];
|
|
virtualisation.memorySize = 2047;
|
|
virtualisation.diskSize = 3072;
|
|
};
|
|
|
|
testRunnerFlags = [ "--timeout" "3600" ];
|
|
}
|