847391fe62
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> |
||
---|---|---|
.. | ||
base32.scm | ||
base64.scm | ||
build-utils.scm | ||
builders.scm | ||
derivations.scm | ||
gexp.scm | ||
guix-archive.sh | ||
guix-authenticate.sh | ||
guix-build.sh | ||
guix-daemon.sh | ||
guix-download.sh | ||
guix-gc.sh | ||
guix-hash.sh | ||
guix-lint.sh | ||
guix-package.sh | ||
guix-register.sh | ||
guix-system.sh | ||
hash.scm | ||
lint.scm | ||
monads.scm | ||
nar.scm | ||
packages.scm | ||
pk-crypto.scm | ||
pki.scm | ||
profiles.scm | ||
pypi.scm | ||
records.scm | ||
signing-key.pub | ||
signing-key.sec | ||
snix.scm | ||
store.scm | ||
substitute-binary.scm | ||
syscalls.scm | ||
test.drv | ||
ui.scm | ||
union.scm | ||
utils.scm |