guix-devel/guix/scripts
nebuli 847391fe62 guix: scripts: Parse $GUIX_BUILD_OPTIONS separately.
Appending to "raw" args broke optional parameters in 'guix package -I'
and 'guix package -A', and possibly other places.  Therefore, switch to
parsing each set of options on its own and append resulting alists
together afterwards.

* guix/scripts/archive.scm (parse-options-from): Rename from
  (parse-options) and add explicit argument.  New form of (parse-options)
  using its old algorithm via -from function.
* guix/scripts/build.scm: Ditto.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/package.scm: Ditto.
* guix/scripts/system.scm: Ditto.
* tests/guix-package.sh: Add test.
* doc/guix.texi (Invoking guix build): Make it clear that the options
  are parsed independently.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-12-06 16:03:49 +01:00
..
import import: Add GNU importer. 2014-11-11 15:31:35 +01:00
archive.scm guix: scripts: Parse $GUIX_BUILD_OPTIONS separately. 2014-12-06 16:03:49 +01:00
authenticate.scm authenticate: Add compatibility hack for Guile 2.0.5. 2014-05-16 10:22:19 +02:00
build.scm guix: scripts: Parse $GUIX_BUILD_OPTIONS separately. 2014-12-06 16:03:49 +01:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
environment.scm guix: scripts: Parse $GUIX_BUILD_OPTIONS separately. 2014-12-06 16:03:49 +01:00
gc.scm ui: Add 'size->number'. 2014-04-08 22:01:44 +02:00
hash.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
import.scm import: Add GNU importer. 2014-11-11 15:31:35 +01:00
lint.scm lint: Fix typos in checker descriptions. 2014-11-19 22:52:30 +01:00
offload.scm offload: Remove mutual exclusion on transfers. 2014-10-29 00:31:23 +01:00
package.scm guix: scripts: Parse $GUIX_BUILD_OPTIONS separately. 2014-12-06 16:03:49 +01:00
pull.scm pull: Use the build procedure provided by the newly-downloaded Guix. 2014-11-09 22:33:45 +01:00
refresh.scm refresh: Add end-of-line to error message. 2014-10-20 17:03:02 -05:00
substitute-binary.scm substitute-binary: Change "unresponsive" to "slow". 2014-11-28 00:10:27 +01:00
system.scm guix: scripts: Parse $GUIX_BUILD_OPTIONS separately. 2014-12-06 16:03:49 +01:00