diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-09-25 23:26:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-09-25 23:26:42 +0200 |
commit | de8bcdaeb5a828d8cee85f8700e23e15b49f4e24 (patch) | |
tree | 65c03d349f05158b49acb412a72451aa43a32954 | |
parent | f83e943fe7b7a4db93a6c603b9fdde57a35e918d (diff) | |
download | guix-de8bcdaeb5a828d8cee85f8700e23e15b49f4e24.tar.gz guix-de8bcdaeb5a828d8cee85f8700e23e15b49f4e24.zip |
packages: Make the 'output' parameter of 'package-output' optional.
* guix/packages.scm (package-output): Make the 'output' parameter
optional.
-rw-r--r-- | guix/packages.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/packages.scm b/guix/packages.scm index efec414675..9433fe9586 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -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." |