nix-env: Create ~/.nix-profile automatically
(cherry picked from commit 9348f9291e5d9e4ba3c4347ea1b235640f54fd79)
This commit is contained in:
		
							parent
							
								
									2070d55b0b
								
							
						
					
					
						commit
						f66108f738
					
				
					 9 changed files with 31 additions and 42 deletions
				
			
		|  | @ -36,7 +36,7 @@ grep -q 'item.*attrPath="foo".*name="dependencies"' $TEST_ROOT/meta.xml | |||
| 
 | ||||
| # Do an install. | ||||
| nix-env -i dependencies | ||||
| [ -e $TEST_ROOT/var/nix/profiles/default/foobar ] | ||||
| [ -e $TEST_HOME/.nix-profile/foobar ] | ||||
| 
 | ||||
| clearProfiles | ||||
| rm -f $TEST_HOME/.nix-channels | ||||
|  | @ -55,5 +55,5 @@ grep -q 'item.*attrPath="foo".*name="dependencies"' $TEST_ROOT/meta.xml | |||
| 
 | ||||
| # Do an install. | ||||
| nix-env -i dependencies | ||||
| [ -e $TEST_ROOT/var/nix/profiles/default/foobar ] | ||||
| [ -e $TEST_HOME/.nix-profile/foobar ] | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue