Forgot to commit
This commit is contained in:
		
							parent
							
								
									f53b3ef693
								
							
						
					
					
						commit
						f7be7324b4
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -17,6 +17,9 @@ export NIX_CONF_DIR=$TEST_ROOT/etc
 | 
				
			||||||
export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
 | 
					export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
 | 
				
			||||||
export _NIX_TEST_SHARED=$TEST_ROOT/shared
 | 
					export _NIX_TEST_SHARED=$TEST_ROOT/shared
 | 
				
			||||||
export NIX_REMOTE=$NIX_REMOTE_
 | 
					export NIX_REMOTE=$NIX_REMOTE_
 | 
				
			||||||
 | 
					export TEST_HOME=$TEST_ROOT/test-home
 | 
				
			||||||
 | 
					export HOME=$TEST_HOME
 | 
				
			||||||
 | 
					mkdir -p $TEST_HOME
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export PATH=@bindir@:$PATH
 | 
					export PATH=@bindir@:$PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -58,6 +61,10 @@ clearCache() {
 | 
				
			||||||
    rm -rf "$cacheDir"
 | 
					    rm -rf "$cacheDir"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clearCacheCache() {
 | 
				
			||||||
 | 
					    rm -f $TEST_HOME/.cache/nix/binary-cache*
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
startDaemon() {
 | 
					startDaemon() {
 | 
				
			||||||
    # Start the daemon, wait for the socket to appear.  !!!
 | 
					    # Start the daemon, wait for the socket to appear.  !!!
 | 
				
			||||||
    # ‘nix-daemon’ should have an option to fork into the background.
 | 
					    # ‘nix-daemon’ should have an option to fork into the background.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue