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()
 | 
						|
    '';
 | 
						|
})
 |