mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
packages: Make the 'output' parameter of 'package-output' optional.
* guix/packages.scm (package-output): Make the 'output' parameter optional.
This commit is contained in:
parent
f83e943fe7
commit
de8bcdaeb5
1 changed files with 2 additions and 2 deletions
|
@ -462,8 +462,8 @@ (define* (package-cross-derivation store package target
|
||||||
#:outputs outputs #:system system
|
#:outputs outputs #:system system
|
||||||
(args))))))))
|
(args))))))))
|
||||||
|
|
||||||
(define* (package-output store package output
|
(define* (package-output store package
|
||||||
#:optional (system (%current-system)))
|
#:optional (output "out") (system (%current-system)))
|
||||||
"Return the output path of PACKAGE's OUTPUT for SYSTEM---where OUTPUT is the
|
"Return the output path of PACKAGE's OUTPUT for SYSTEM---where OUTPUT is the
|
||||||
symbolic output name, such as \"out\". Note that this procedure calls
|
symbolic output name, such as \"out\". Note that this procedure calls
|
||||||
`package-derivation', which is costly."
|
`package-derivation', which is costly."
|
||||||
|
|
Loading…
Reference in a new issue