All checks were successful
		
		
	
	Test / Create distribution (push) Successful in 33s
				
			Test / Sandbox (push) Successful in 1m58s
				
			Test / Sandbox (race detector) (push) Successful in 3m47s
				
			Test / Hpkg (push) Successful in 3m54s
				
			Test / Hakurei (race detector) (push) Successful in 4m32s
				
			Test / Hakurei (push) Successful in 2m10s
				
			Test / Flake checks (push) Successful in 1m19s
				
			Planterette is now developed in another repository, so rename this proof of concept to avoid confusion. Signed-off-by: Ophestra <cat@gensokyo.uk>
		
			
				
	
	
		
			35 lines
		
	
	
		
			729 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			729 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   nixosTest,
 | |
|   callPackage,
 | |
| 
 | |
|   system,
 | |
|   self,
 | |
| }:
 | |
| let
 | |
|   buildPackage = self.buildPackage.${system};
 | |
| in
 | |
| nixosTest {
 | |
|   name = "hpkg";
 | |
|   nodes.machine = {
 | |
|     environment.etc = {
 | |
|       "foot.pkg".source = callPackage ./foot.nix { inherit buildPackage; };
 | |
|     };
 | |
| 
 | |
|     imports = [
 | |
|       ./configuration.nix
 | |
| 
 | |
|       self.nixosModules.hakurei
 | |
|       self.inputs.home-manager.nixosModules.home-manager
 | |
|     ];
 | |
|   };
 | |
| 
 | |
|   # adapted from nixos sway integration tests
 | |
| 
 | |
|   # testScriptWithTypes:49: error: Cannot call function of unknown type
 | |
|   #           (machine.succeed if succeed else machine.execute)(
 | |
|   #           ^
 | |
|   # Found 1 error in 1 file (checked 1 source file)
 | |
|   skipTypeCheck = true;
 | |
|   testScript = builtins.readFile ./test.py;
 | |
| }
 |