packages: Make the 'output' parameter of 'package-output' optional.

* guix/packages.scm (package-output): Make the 'output' parameter
  optional.
This commit is contained in:
Ludovic Courtès 2013-09-25 23:26:42 +02:00
parent f83e943fe7
commit de8bcdaeb5
1 changed files with 2 additions and 2 deletions

View File

@ -462,8 +462,8 @@ system identifying string)."
#:outputs outputs #:system system
(args))))))))
(define* (package-output store package output
#:optional (system (%current-system)))
(define* (package-output store package
#:optional (output "out") (system (%current-system)))
"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
`package-derivation', which is costly."