mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03: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";
|
|
}
|