mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
eee5986ac3
The test script is also ported to python.
15 lines
365 B
Nix
15 lines
365 B
Nix
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
makeInstalledTest {
|
|
tested = pkgs.flatpak-builder;
|
|
|
|
testConfig = {
|
|
services.flatpak.enable = true;
|
|
xdg.portal.enable = true;
|
|
environment.systemPackages = with pkgs; [ flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
|
|
virtualisation.diskSize = 2048;
|
|
};
|
|
|
|
testRunnerFlags = "--timeout 3600";
|
|
}
|