From 8d53e88346d923e7d3114a8cfc09d45accbe5bc8 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 24 Jul 2020 16:32:34 +0200 Subject: [PATCH] nixosTests.installed-tests.flatpak: Fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: https://github.com/flatpak/flatpak/commit/2b6641575db75d8af8228749798f4ea635797577 --- nixos/tests/installed-tests/flatpak.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/installed-tests/flatpak.nix b/nixos/tests/installed-tests/flatpak.nix index 091c9932662..6b83d006f16 100644 --- a/nixos/tests/installed-tests/flatpak.nix +++ b/nixos/tests/installed-tests/flatpak.nix @@ -10,9 +10,9 @@ makeInstalledTest { services.xserver.displayManager.gdm.enable = false; services.gnome3.core-utilities.enable = false; services.flatpak.enable = true; - environment.systemPackages = with pkgs; [ gnupg ostree python2 ]; + environment.systemPackages = with pkgs; [ gnupg ostree python3 ]; virtualisation.memorySize = 2047; - virtualisation.diskSize = 1024; + virtualisation.diskSize = 3072; }; testRunnerFlags = "--timeout 3600";