mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
725d843cc8
Fixes CVE-2021-43860 and CVE-2022-21682 Changes: https://github.com/flatpak/flatpak/releases/tag/1.12.4 https://github.com/flatpak/flatpak/releases/tag/1.12.3 Security advisories: https://github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j https://github.com/flatpak/flatpak/security/advisories/GHSA-8ch7-5j3h-g4fx
18 lines
435 B
Nix
18 lines
435 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";
|
|
}
|