guix package: Fix version and output for 'guix package -i /gnu/store/…'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 11 Jan 2017 10:55:51 +0000 (11:55 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 11 Jan 2017 10:58:21 +0000 (11:58 +0100)
commitaa042770da2fe6411089a965ea8b2219a99d3448
treeed07d30eb4b79e5f27b34e44b28b75aa0288532b
parent69323016d31547356c7322682943b22af4df74ed
guix package: Fix version and output for 'guix package -i /gnu/store/…'.

* guix/utils.scm (package-name->name+version): Add optional 'delimiter'
parameter.
* guix/scripts/package.scm (store-item->manifest-entry): Pass #\- as the
delimiter for 'package-name->name+version'.  Use "out" instead of #f for
the 'output' field.
* tests/guix-package.sh: Add test.
guix/scripts/package.scm
guix/utils.scm
tests/guix-package.sh