summary refs log tree commit diff
path: root/guix-build.in
AgeCommit message (Collapse)Author
2012-11-07guix-build: Error out when `-S' used for source-less package.Ludovic Courtès
* 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.
2012-11-03ui: Factorize `--version'.Ludovic Courtès
* 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.
2012-11-01Add (guix ui).Ludovic Courtès
* 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.
2012-10-30guix-build: Add `--root'.Ludovic Courtès
* 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.
2012-10-27build: Make sure scripts know where to find their modules.Ludovic Courtès
* guix-build.in, guix-download.in: Define `prefix' and `datarootdir', so that `guilemoduledir' expands to something meaningful.
2012-10-27guix-build: Gracefully handle `&package-input-error' conditions.Ludovic Courtès
* 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.
2012-10-24guix-build: Change `--local-build' to `--no-substitutes'.Ludovic Courtès
* guix-build.in (%default-options): Add `substitutes?'. (show-help): Change `--local-build' to `--no-substitutes'. (guix-build): Adjust accordingly.
2012-10-18guix-build: Add `--system'.Ludovic Courtès
* 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'.
2012-10-18guix-build: Add `--local-build'.Ludovic Courtès
* guix-build.in (show-help): Add `--local-build'. (%options): Likewise. (guix-build): Pass `set-build-options' the #:use-substitutes? argument accordingly.
2012-10-05Support build-cores = 0; change `guix-build' to default to 0.Ludovic Courtès
* 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.
2012-09-04guix-build: Add `--derivations'.Ludovic Courtès
* guix-build.in (show-help): Add `--derivations'. (%options): Likewise. (guix-build): Handle it.
2012-09-04guix-build: Add `--source'.Ludovic Courtès
* guix-build.in (derivations-from-package-expressions): Add `source?' parameter. Honor it. (show-help): Add `--source'. (%options): Likewise. (guix-build): Honor `--source'.
2012-08-31guix-build: Fix the "unrecognized option" error message.Ludovic Courtès
* guix-build.in (guix-build): Show the option name when an unrecognized option is passed.
2012-07-12guix-build: Default the number of build cores to (current-processor-count).Ludovic Courtès
* guix-build.in (guix-build): Use (current-processor-count) build cores by default.
2012-07-07guix-build: Add `--cores'.Ludovic Courtès
* 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'.
2012-07-02guix-build: Display multiple outputs when needed.Ludovic Courtès
* guix-build.in (guix-build): Display multiple outputs when there's more than one.
2012-07-01Add `guix-build'.Ludovic Courtès
* 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'.