guix-play/guix/scripts
Mathieu Lirzin 1b846da8c3 utils: Use '@' for separating package names and version numbers.
This provides the ability to use numbers in package names.

Fixes <http://bugs.gnu.org/19219>.

* guix/utils.scm (package-name->name+version): New procedure.
* gnu/packages.scm (%find-package): Add a FALLBACK? keyword argument.
Use the previous method when no package is found.
(specification->package+output, specification->package): Adapt
documentation to new syntax.
* doc/guix.texi (Invoking guix package, Invoking guix import): Likewise.
* guix/ui.scm (package-specification->name+version+output): Likewise.
* guix/scripts/import/hackage.scm (show-help): Likewise.
* tests/guix-build.sh: Adapt to new syntax.
* tests/guix-lint.sh: Likewise.
* tests/guix-package.sh: Likewise.
* tests/ui.scm ("package-specification->name+version+output"): Likewise.
* tests/utils.scm ("package-name->name+version"): Likewise.
* NEWS: Mention new syntax.
2016-03-02 21:41:41 +01:00
..
container scripts: container: Fix 'exec' command line parsing. 2015-11-03 18:05:43 -05:00
import utils: Use '@' for separating package names and version numbers. 2016-03-02 21:41:41 +01:00
archive.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00
authenticate.scm
build.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00
challenge.scm substitute: 'lookup-narinfos' returns exactly a list of narinfos. 2015-10-28 12:04:03 +01:00
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
download.scm guix download: Fail when more than one URL is passed. 2015-11-23 17:48:35 +01:00
edit.scm edit: Don't assume that an emacs daemon is running. 2015-12-06 17:23:25 +01:00
environment.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00
gc.scm guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01:00
graph.scm graph: Ignore 'GUIX_BUILD_OPTIONS'. 2016-03-02 14:47:07 +01:00
hash.scm
import.scm
lint.scm lint: Rewrite 'check-patch-file-names'. 2016-01-28 16:31:38 +01:00
offload.scm
package.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00
publish.scm store: 'path-info-deriver' is #f when there is no deriver. 2016-02-26 23:35:29 +01:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm import: Add github-updater. 2016-02-26 22:06:34 -05:00
size.scm store: Use the daemon's substitute URLs by default. 2015-10-28 15:31:44 +01:00
substitute.scm substitute: Warn upon store prefix mismatches. 2015-11-28 00:02:23 +01:00
system.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00