0dc4ca4c71
This is currently a hacky workarround, but bettern than nothing until we come up with a better solution.
17 lines
263 B
Nix
17 lines
263 B
Nix
{
|
|
name = "simple-container";
|
|
|
|
containers = {
|
|
machine = { pkgs, ... }: {
|
|
users.users.root.packages = [ pkgs.hello ];
|
|
};
|
|
noprofile = { };
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
machine.succeed("hello")
|
|
noprofile.fail("hello")
|
|
'';
|
|
}
|