mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
25bef2d8f9
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
18 lines
345 B
Nix
18 lines
345 B
Nix
import ./make-test-python.nix ({ pkgs, ...} : {
|
|
name = "simple";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ eelco ];
|
|
};
|
|
|
|
machine = { ... }: {
|
|
imports = [ ../modules/profiles/minimal.nix ];
|
|
};
|
|
|
|
testScript =
|
|
''
|
|
start_all()
|
|
machine.wait_for_unit("multi-user.target")
|
|
machine.shutdown()
|
|
'';
|
|
})
|