forked from mirrors/nixpkgs
8d53e88346
Along with the `socat` fix in the parent commit, this makes
the Flatpak’s installed tests finally pass again.
The tests seem to need slightly over 2G of disk space,
and it appears that the test suite was ported to Python 3 in 1.5.1:
2b6641575d
20 lines
631 B
Nix
20 lines
631 B
Nix
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
makeInstalledTest {
|
|
tested = pkgs.flatpak;
|
|
withX11 = true;
|
|
|
|
testConfig = {
|
|
services.xserver.desktopManager.gnome3.enable = true; # TODO: figure out minimal environment where the tests work
|
|
# common/x11.nix enables the auto display manager (lightdm)
|
|
services.xserver.displayManager.gdm.enable = false;
|
|
services.gnome3.core-utilities.enable = false;
|
|
services.flatpak.enable = true;
|
|
environment.systemPackages = with pkgs; [ gnupg ostree python3 ];
|
|
virtualisation.memorySize = 2047;
|
|
virtualisation.diskSize = 3072;
|
|
};
|
|
|
|
testRunnerFlags = "--timeout 3600";
|
|
}
|