mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
18 lines
421 B
Nix
18 lines
421 B
Nix
# run installed tests
|
|
import ./make-test.nix ({ pkgs, ... }:
|
|
|
|
{
|
|
name = "xdg-desktop-portal";
|
|
meta = {
|
|
maintainers = pkgs.xdg-desktop-portal.meta.maintainers;
|
|
};
|
|
|
|
machine = { config, pkgs, ... }: {
|
|
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
|
|
};
|
|
|
|
testScript = ''
|
|
$machine->succeed("gnome-desktop-testing-runner -d '${pkgs.xdg-desktop-portal.installedTests}/share'");
|
|
'';
|
|
})
|