nix build: Fix realising a store path
This commit is contained in:
		
							parent
							
								
									d1c6e0fe8c
								
							
						
					
					
						commit
						bfef3ec855
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -267,7 +267,9 @@ Buildables toBuildables(ref<Store> store, RealiseMode mode,
 | 
				
			||||||
                    outputNames.insert(output.first);
 | 
					                    outputNames.insert(output.first);
 | 
				
			||||||
                pathsToBuild.insert(
 | 
					                pathsToBuild.insert(
 | 
				
			||||||
                    b.drvPath + "!" + concatStringsSep(",", outputNames));
 | 
					                    b.drvPath + "!" + concatStringsSep(",", outputNames));
 | 
				
			||||||
            }
 | 
					            } else
 | 
				
			||||||
 | 
					                for (auto & output : b.outputs)
 | 
				
			||||||
 | 
					                    pathsToBuild.insert(output.second);
 | 
				
			||||||
            buildables.push_back(std::move(b));
 | 
					            buildables.push_back(std::move(b));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue