aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/tests/installed-tests/ostree.nix
blob: eef7cace54cc1ec5502c318545c6cbea999e492d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ pkgs, lib, makeInstalledTest, ... }:

makeInstalledTest {
  tested = pkgs.ostree;

  # TODO: Wrap/patch the tests directly in the package
  testConfig = {
    environment.systemPackages = with pkgs; [
      (python3.withPackages (p: with p; [ pyyaml ]))
      gnupg
      ostree
    ];

    # for GJS tests
    environment.variables.GI_TYPELIB_PATH = lib.makeSearchPath "lib/girepository-1.0" (with pkgs; [
      gtk3
      pango.out
      ostree
      gdk-pixbuf
      atk
    ]);
  };
}