summaryrefslogtreecommitdiff
path: root/guix/build
AgeCommit message (Expand)Author
2012-07-07utils: Introduce `substitute*', for easier sed-like syntax....* guix/build/utils.scm (let-matches, substitute*): New macros. * distro/base.scm (guile-1.8): Use `substitute*' instead of `substitute'. Remove the #:modules argument. Ludovic Courtès
2012-07-06utils: Make sure `substitute' writes all its output....* guix/build/utils.scm (substitute): Close OUT before renaming it. Ludovic Courtès
2012-07-06gnu-build-system: Dump the values of environment variables....* guix/build/gnu-build-system.scm (set-paths): Dump the value of environment variables in the `environment-variables' files, similar to what Nixpkgs does. Ludovic Courtès
2012-07-05build-system/gnu: Add a `patch' phase....* guix/build/gnu-build-system.scm (patch): New procedure. (%standard-phases): Add `patch'. * guix/build-system/gnu.scm (gnu-build): Add `patches' and `patch-flags' parameters. Pass them on. Ludovic Courtès
2012-07-05Add builder-side utilities for phases, stream editing, & co....* guix/build/utils.scm (with-directory-excursion): New macro. (alist-cons-before, alist-cons-after, alist-replace): New procedures. (substitute): New procedure. * tests/build-utils.scm: New file. * Makefile.am (TESTS): Add `tests/build-utils.scm'. Ludovic Courtès
2012-07-02gnu-build-system: Improve the `configure' and `check' phases....* guix/build/gnu-build-system.scm (configure): Print the final list of flags. (check): Add `tests?' keyword parameter. Ludovic Courtès
2012-07-02gnu-build-system: Print the `configure' flags....* guix/build/gnu-build-system.scm (configure): Print CONFIGURE-FLAGS. Ludovic Courtès
2012-07-02gnu-build-system: Fix "libdir" and "includedir" for multiple-output drvs....* guix/build/gnu-build-system.scm (configure): Change `--libdir' and `--includedir' to LIBDIR + "/lib" and INCLUDEDIR + "/include", respectively. Ludovic Courtès
2012-06-16gnu-build-system: Structure as a customizable sequence of phases....* guix/build/gnu-build-system.scm (set-paths, build, check, install): New procedures. (unpack): Make `source' a keyword arg; add `#:allow-other-keys'. (configure): Likewise. (%standard-phases): New variable. (gnu-build): Make `source', `outputs', and `inputs' keyword arguments; add `phases' keyword argument; #:allow-other-keys; add rest arguments `args'. Invoke each of PHASES in order within `every'. * guix/gnu-build-system.scm (gnu-build): Add `make-flags' and `phases' keyword arguments. Update builder's `gnu-build' call to match the new convention. Ludovic Courtès
2012-06-16Remove leftover debugging expressions....* guix/build/utils.scm (directory-exists?): Remove leftover debugging expressions. Ludovic Courtès
2012-06-13Add supporting tools for the GNU Build System....* guix/derivations.scm (build-expression->derivation): Add all of INPUTS as inputs to the final derivation. * guix/build/gnu-build-system.scm, guix/build/utils.scm, guix/gnu-build-system.scm: New files. * tests/builders.scm ("gnu-build"): New test. Ludovic Courtès
2012-06-12Augment `build-expression->derivation' with #:modules; add `http-fetch'....* guix/derivations.scm (imported-modules): New procedure. (build-expression->derivation): New keyword argument `modules'. Use `imported-modules' when MODULES is non-empty, and pass it with `-L' to GUILE. * guix/build/http.scm, guix/http.scm, tests/builders.scm: New files. Ludovic Courtès