nix repl: don't create result symlinks
This commit is contained in:
		
							parent
							
								
									800cd55ab7
								
							
						
					
					
						commit
						0e6c84a771
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -445,7 +445,7 @@ bool NixRepl::processLine(string line)
 | 
				
			||||||
            /* We could do the build in this process using buildPaths(),
 | 
					            /* We could do the build in this process using buildPaths(),
 | 
				
			||||||
               but doing it in a child makes it easier to recover from
 | 
					               but doing it in a child makes it easier to recover from
 | 
				
			||||||
               problems / SIGINT. */
 | 
					               problems / SIGINT. */
 | 
				
			||||||
            if (runProgram(settings.nixBinDir + "/nix", Strings{"build", drvPath}) == 0) {
 | 
					            if (runProgram(settings.nixBinDir + "/nix", Strings{"build", "--no-link", drvPath}) == 0) {
 | 
				
			||||||
                Derivation drv = readDerivation(drvPath);
 | 
					                Derivation drv = readDerivation(drvPath);
 | 
				
			||||||
                std::cout << std::endl << "this derivation produced the following outputs:" << std::endl;
 | 
					                std::cout << std::endl << "this derivation produced the following outputs:" << std::endl;
 | 
				
			||||||
                for (auto & i : drv.outputs)
 | 
					                for (auto & i : drv.outputs)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue