parent
							
								
									53b520708a
								
							
						
					
					
						commit
						ba75c69e00
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
					@ -1810,8 +1810,13 @@ void DerivationGoal::startBuilder()
 | 
				
			||||||
            useChroot = !fixedOutput && get(drv->env, "__noChroot") != "1";
 | 
					            useChroot = !fixedOutput && get(drv->env, "__noChroot") != "1";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (worker.store.storeDir != worker.store.realStoreDir)
 | 
					    if (worker.store.storeDir != worker.store.realStoreDir) {
 | 
				
			||||||
        useChroot = true;
 | 
					        #if __linux__
 | 
				
			||||||
 | 
					            useChroot = true;
 | 
				
			||||||
 | 
					        #else
 | 
				
			||||||
 | 
					            throw Error("building using a diverted store is not supported on this platform");
 | 
				
			||||||
 | 
					        #endif
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* If `build-users-group' is not empty, then we have to build as
 | 
					    /* If `build-users-group' is not empty, then we have to build as
 | 
				
			||||||
       one of the members of that group. */
 | 
					       one of the members of that group. */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue