mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01: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";
|
|
}
|