guix package: Honor the current output when upgrading.
* guix/scripts/package.scm (specification->package+output): Pass OUTPUT to 'package-specification->name+version+output'.
This commit is contained in:
		
							parent
							
								
									53c85e97dc
								
							
						
					
					
						commit
						b874f305e5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -324,7 +324,7 @@ version; if SPEC does not specify an output, return OUTPUT." | |||
|                sub-drv))) | ||||
| 
 | ||||
|   (let-values (((name version sub-drv) | ||||
|                 (package-specification->name+version+output spec))) | ||||
|                 (package-specification->name+version+output spec output))) | ||||
|     (match (find-best-packages-by-name name version) | ||||
|       ((p) | ||||
|        (values p (ensure-output p sub-drv))) | ||||
|  |  | |||
		Reference in a new issue