feat(tvix): Expose depot in the test vm
Expose depot to the test vm via NIX_PATH, so we can test the build of depot packages from inside the test vm. Change-Id: I26314634895ab1339f5715c0b0b261028eefdaa3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1923 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
		
							parent
							
								
									912268ed5e
								
							
						
					
					
						commit
						e472aa016e
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								third_party/nix/test-vm.nix
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								third_party/nix/test-vm.nix
									
										
									
									
										vendored
									
									
								
							|  | @ -10,6 +10,10 @@ let | |||
|     nix.package = depot.third_party.nix; | ||||
| 
 | ||||
|     virtualisation.qemu.options = [ "-nographic" ]; | ||||
| 
 | ||||
|     nix.nixPath = [ | ||||
|       "depot=${depot.depotPath}" | ||||
|     ]; | ||||
|   }; | ||||
| 
 | ||||
|   system = pkgs.nixos { inherit configuration; }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue