Age | Commit message (Expand) | Author |
2012-08-30 | build-system/gnu: Always invoke `configure' with a relative path....* guix/build/gnu-build-system.scm (configure): Change SRCDIR to always
be a relative path.
| Ludovic Courtès |
2012-08-25 | utils: Change `substitute*' to accept a list of files to patch....* guix/build/utils.scm (substitute*): Support a list of files as the
first argument.
| Ludovic Courtès |
2012-08-23 | build-system/gnu: Add `out-of-source?' keyword parameter....* guix/build/gnu-build-system.scm (configure): Add an `out-of-source?'
keyword parameter; build out-of-source-tree when #t.
* guix/build-system/gnu.scm (gnu-build): Add `out-of-source?' keyword
parameter. Pass it in BUILDER.
| Ludovic Courtès |
2012-08-19 | build-system/gnu: Augment $PATH with $out for `patch-shebangs'....* guix/build/gnu-build-system.scm (patch-shebangs): Add BINDIRS to
$PATH, and pass that to `patch-shebang'.
| Ludovic Courtès |
2012-08-19 | utils: Add a `path' argument to `patch-shebang'....* guix/build/utils.scm (patch-shebang): Add an optional `path'
parameter. Change SHEBANG-RX to match the whole interpreter file
name. Don't patch when BIN and CMD are the same. Add docstring.
| Ludovic Courtès |
2012-08-19 | build-system/gnu: Add a `patch-shebangs' phase....* guix/build/gnu-build-system.scm (patch-shebangs): New procedure.
(%standard-phases): Add it.
* guix/build-system/gnu.scm (gnu-build): New `patch-shebangs?' keyword
parameter. Pass it to the builder's `gnu-build'.
| Ludovic Courtès |
2012-08-19 | utils: Add `patch-shebang'....* guix/build/utils.scm (search-path-as-string->list): New procedure.
(dump-port, patch-shebang): New procedures.
| Ludovic Courtès |
2012-07-07 | build-system/gnu: Set $PKG_CONFIG_PATH....* guix/build/gnu-build-system.scm (set-paths): Add `PKG_CONFIG_PATH'.
| Ludovic Courtès |
2012-07-07 | utils: Have `substitute' restore the file's permission bits....* guix/build/utils.scm (substitute): Restore FILE's mode before renaming
TEMPLATE.
| Ludovic Courtès |
2012-07-07 | utils: Change `substitute' and `substitute*' to work with several regexps....* guix/build/utils.scm (substitute): Change to accept a `pattern+procs'
parameter. Iterate over it.
(substitute*): Adjust accordingly.
* distro/base.scm (guile-1.8): Adjust accordingly.
| Ludovic Courtès |
2012-07-07 | build-system/gnu: Support parallel builds and tests....* guix/build/gnu-build-system.scm (build): Add `parallel-build?'
parameter; honor it and $NIX_BUILD_CORES.
(check): Add `parallel-tests?' parameter; likewise.
* guix/build-system/gnu.scm (gnu-build): Add `parallel-build?' and
`parallel-tests?' parameters.
[builder]: Inherit them.
| Ludovic Courtès |
2012-07-07 | utils: 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-06 | utils: Make sure `substitute' writes all its output....* guix/build/utils.scm (substitute): Close OUT before renaming it.
| Ludovic Courtès |
2012-07-06 | gnu-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-05 | build-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-05 | Add 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-02 | gnu-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-02 | gnu-build-system: Print the `configure' flags....* guix/build/gnu-build-system.scm (configure): Print CONFIGURE-FLAGS.
| Ludovic Courtès |
2012-07-02 | gnu-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-16 | gnu-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-16 | Remove leftover debugging expressions....* guix/build/utils.scm (directory-exists?): Remove leftover debugging
expressions.
| Ludovic Courtès |
2012-06-13 | Add 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-12 | Augment `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 |