mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
eee5986ac3
The test script is also ported to python.
23 lines
491 B
Nix
23 lines
491 B
Nix
{ 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
|
|
]);
|
|
};
|
|
}
|