pack: Fix handling of '-e'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 7 May 2018 12:04:19 +0000 (14:04 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 7 May 2018 12:04:19 +0000 (14:04 +0200)
commitd26727a143fab0dded1dbc848899270dbacd5dad
tree23c29b5c322a960768c4624a6350fc5602222dd1
parent91a56b4ab5e714e230c0088fb9f5ce0519efe1a0
pack: Fix handling of '-e'.

Fixes a regression introduced in
aad16cc1965ab3488449c262455eb29b15c77e95.
Reported by Julien Lepiller.

* guix/scripts/pack.scm (guix-pack)[manifest-from-args]: In
'match-lambda', add clause for single packages.
* tests/guix-pack.sh: Add test for '-e'.
guix/scripts/pack.scm
tests/guix-pack.sh