* Create /nix/var/nix/db if it's missing.
This commit is contained in:
		
							parent
							
								
									100becf8d1
								
							
						
					
					
						commit
						5833243c92
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -199,6 +199,7 @@ LocalStore::LocalStore()
 | 
				
			||||||
    Path profilesDir = nixStateDir + "/profiles";
 | 
					    Path profilesDir = nixStateDir + "/profiles";
 | 
				
			||||||
    createDirs(nixStateDir + "/profiles");
 | 
					    createDirs(nixStateDir + "/profiles");
 | 
				
			||||||
    createDirs(nixStateDir + "/temproots");
 | 
					    createDirs(nixStateDir + "/temproots");
 | 
				
			||||||
 | 
					    createDirs(nixDBPath);
 | 
				
			||||||
    Path gcRootsDir = nixStateDir + "/gcroots";
 | 
					    Path gcRootsDir = nixStateDir + "/gcroots";
 | 
				
			||||||
    if (!pathExists(gcRootsDir)) {
 | 
					    if (!pathExists(gcRootsDir)) {
 | 
				
			||||||
        createDirs(gcRootsDir);
 | 
					        createDirs(gcRootsDir);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue