summaryrefslogtreecommitdiff
path: root/guix-build.in
Commit message (Expand)AuthorAgeFilesLines
* guix-build: Don't connect to the daemon when run with `--version' or `--help'.•••* guix-build.in (%store): Turn into a SRFI-39 parameter. Update users. (guix-build): Set %STORE and call `open-connection' only after `parse-options' has been called. Ludovic Courtès2012-12-041-74/+75
* guix-build: Use `location->string'.•••* guix-build.in (derivations-from-package-expressions): Use `location->string'. Ludovic Courtès2012-11-191-3/+2
* guix-build: Error out when `-S' used for source-less package.•••* guix-build.in (derivations-from-package-expressions): Leave with an error message when SOURCE? is #t and P has no source. * tests/guix-build.sh: Add test. Ludovic Courtès2012-11-071-6/+9
* ui: Factorize `--version'.•••* guix/ui.scm (show-version-and-exit): New procedure. * guix-build.in (show-version): Remove. (%options)["version"]: Use `show-version-and-exit'. * guix-download.in: Likewise. * guix-package.in: Likewise. Ludovic Courtès2012-11-031-5/+1
* Add (guix ui).•••* guix/ui.scm: New file. * Makefile.am (MODULES): Add it. * po/POTFILES.in: Add it. * guix-build.in: Use it. (_, N_, leave): Remove. (guix-build): Use `with-error-handling' instead of the `guard' form. * guix-download.in: Use it. (_, N_, leave): Remove. Ludovic Courtès2012-11-011-19/+2
* guix-build: Add `--root'.•••* guix/store.scm (add-indirect-root): New operation. * guix-build.in (show-help): Document `--root'. (%options): Add `--root'. (guix-build)[register-root]: New procedure. Call it when `--root' is passed. Ludovic Courtès2012-10-301-2/+44
* build: Make sure scripts know where to find their modules.•••* guix-build.in, guix-download.in: Define `prefix' and `datarootdir', so that `guilemoduledir' expands to something meaningful. Ludovic Courtès2012-10-271-0/+3
* guix-build: Gracefully handle `&package-input-error' conditions.•••* guix/packages.scm: Export `package-error?' and `package-input-error?'. * guix-build.in (guix-build): Catch `&package-input-error' conditions, print a human-readable message, and exit. Ludovic Courtès2012-10-271-62/+77
* guix-build: Change `--local-build' to `--no-substitutes'.•••* guix-build.in (%default-options): Add `substitutes?'. (show-help): Change `--local-build' to `--no-substitutes'. (guix-build): Adjust accordingly. Ludovic Courtès2012-10-241-5/+7
* guix-build: Add `--system'.•••* guix-build.in (derivations-from-package-expressions): New `system' parameter. Pass it to `package-derivation'. (%default-options): Add `system' pair. (show-help): Describe `--system'. (%options): Add it. (guix-build): Check the `system' pair in OPTS; pass it to `derivations-from-package-expressions' and `package-derivation'. Ludovic Courtès2012-10-181-7/+16
* guix-build: Add `--local-build'.•••* guix-build.in (show-help): Add `--local-build'. (%options): Likewise. (guix-build): Pass `set-build-options' the #:use-substitutes? argument accordingly. Ludovic Courtès2012-10-181-3/+9
* Support build-cores = 0; change `guix-build' to default to 0.•••* guix/build/gnu-build-system.scm (%parallel-job-count): New variable. (build, check): Use it instead of $NIX_BUILD_CORES. * guix-build.in (guix-build): Default to 0 for the #:build-cores option. Ludovic Courtès2012-10-051-2/+1
* guix-build: Add `--derivations'.•••* guix-build.in (show-help): Add `--derivations'. (%options): Likewise. (guix-build): Handle it. Ludovic Courtès2012-09-041-12/+19
* guix-build: Add `--source'.•••* guix-build.in (derivations-from-package-expressions): Add `source?' parameter. Honor it. (show-help): Add `--source'. (%options): Likewise. (guix-build): Honor `--source'. Ludovic Courtès2012-09-041-14/+26
* guix-build: Fix the "unrecognized option" error message.•••* guix-build.in (guix-build): Show the option name when an unrecognized option is passed. Ludovic Courtès2012-08-311-1/+1
* guix-build: Default the number of build cores to (current-processor-count).•••* guix-build.in (guix-build): Use (current-processor-count) build cores by default. Ludovic Courtès2012-07-121-1/+2
* guix-build: Add `--cores'.•••* guix-build.in (leave): New macro, formerly in `guix-build'. (show-help): Document `--cores'. (%options): Add `--cores'. (guix-build): Remove `leave' macro from here. Pass the `cores' option value to `set-build-options'. Ludovic Courtès2012-07-071-71/+81
* guix-build: Display multiple outputs when needed.•••* guix-build.in (guix-build): Display multiple outputs when there's more than one. Ludovic Courtès2012-07-021-2/+10
* Add `guix-build'.•••* guix-build.in: New file. * configure.ac: Emit `guix-build'. Add `commands-exec'. * Makefile.am (bin_SCRIPTS): New variable. * po/POTFILES.in: Add `guix-build.in'. Ludovic Courtès2012-07-011-0/+179