nixpkgs/nixos/tests/xdg-desktop-portal.nix

18 lines
413 B
Nix
Raw Normal View History

2018-02-21 22:29:51 -07:00
# run installed tests
import ./make-test.nix ({ pkgs, ... }:
{
name = "xdg-desktop-portal";
meta = {
maintainers = pkgs.xdg-desktop-portal.meta.maintainers;
};
machine = { pkgs, ... }: {
2018-02-21 22:29:51 -07:00
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
};
testScript = ''
$machine->succeed("gnome-desktop-testing-runner -d '${pkgs.xdg-desktop-portal.installedTests}/share'");
'';
})