25bef2d8f9
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
17 lines
471 B
Nix
17 lines
471 B
Nix
import ../make-test-python.nix ({ pkgs, ...} : {
|
|
name = "test-hocker-fetchdocker";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ ixmatus ];
|
|
broken = true; # tries to download from registry-1.docker.io - how did this ever work?
|
|
};
|
|
|
|
machine = import ./machine.nix;
|
|
|
|
testScript = ''
|
|
start_all()
|
|
|
|
machine.wait_for_unit("sockets.target")
|
|
machine.wait_until_succeeds("docker run registry-1.docker.io/v2/library/hello-world:latest")
|
|
'';
|
|
})
|