summaryrefslogtreecommitdiff
path: root/guix/build/gnu-build-system.scm
Commit message (Collapse)AuthorAge
...
* build-system/gnu: Fix `#:path-exclusions' handling.Ludovic Courtès2012-09-06
| | | | | * guix/build/gnu-build-system.scm (set-paths)[relevant-input-directories]: New procedure. Use it. This fixes #:path-exclusions handling.
* build-system/gnu: Really apply patches.Ludovic Courtès2012-09-01
| | | | | * guix/build/gnu-build-system.scm (patch): Use `--input FILE', not just `FILE'.
* build-system/gnu: Add `path-exclusions' parameter.Ludovic Courtès2012-09-01
| | | | | | | | | * guix/build/gnu-build-system.scm (set-paths): Add new `path-exclusions' parameter; honor it. * guix/build-system/gnu.scm (gnu-build): New `path-exclusions' keyword parameter; pass it to BUILDER. * distro/base.scm (gcc-4.7): Exclude "libc" from $LIBRARY_PATH.
* build-system/gnu: Honor the `patch-shebangs?' and `strip-binaries?' parameters.Ludovic Courtès2012-08-31
| | | | | | * guix/build/gnu-build-system.scm (patch-shebangs): Honor PATCH-SHEBANGS?. (strip): Honor STRIP-BINARIES?. Display a message from `strip-dir'.
* build-system/gnu: Add a `strip' phase.Ludovic Courtès2012-08-31
| | | | | | | | | * guix/build/gnu-build-system.scm (strip): New procedure. (%standard-phases): Add it. * guix/build-system/gnu.scm (gnu-build): New `strip-binaries?', `strip-flags', and `strip-directories' keyword parameters. Pass them to BUILDER.
* build-system/gnu: Always invoke `configure' with a relative path.Ludovic Courtès2012-08-30
| | | | | * guix/build/gnu-build-system.scm (configure): Change SRCDIR to always be a relative path.
* build-system/gnu: Add `out-of-source?' keyword parameter.Ludovic Courtès2012-08-23
| | | | | | | * 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.
* build-system/gnu: Augment $PATH with $out for `patch-shebangs'.Ludovic Courtès2012-08-19
| | | | | * guix/build/gnu-build-system.scm (patch-shebangs): Add BINDIRS to $PATH, and pass that to `patch-shebang'.
* build-system/gnu: Add a `patch-shebangs' phase.Ludovic Courtès2012-08-19
| | | | | | | | * 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'.
* build-system/gnu: Set $PKG_CONFIG_PATH.Ludovic Courtès2012-07-07
| | | | * guix/build/gnu-build-system.scm (set-paths): Add `PKG_CONFIG_PATH'.
* build-system/gnu: Support parallel builds and tests.Ludovic Courtès2012-07-07
| | | | | | | | | | * 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.
* gnu-build-system: Dump the values of environment variables.Ludovic Courtès2012-07-06
| | | | | | * guix/build/gnu-build-system.scm (set-paths): Dump the value of environment variables in the `environment-variables' files, similar to what Nixpkgs does.
* build-system/gnu: Add a `patch' phase.Ludovic Courtès2012-07-05
| | | | | | | | * 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.
* gnu-build-system: Improve the `configure' and `check' phases.Ludovic Courtès2012-07-02
| | | | | | * guix/build/gnu-build-system.scm (configure): Print the final list of flags. (check): Add `tests?' keyword parameter.
* gnu-build-system: Print the `configure' flags.Ludovic Courtès2012-07-02
| | | | * guix/build/gnu-build-system.scm (configure): Print CONFIGURE-FLAGS.
* gnu-build-system: Fix "libdir" and "includedir" for multiple-output drvs.Ludovic Courtès2012-07-02
| | | | | | * guix/build/gnu-build-system.scm (configure): Change `--libdir' and `--includedir' to LIBDIR + "/lib" and INCLUDEDIR + "/include", respectively.
* gnu-build-system: Structure as a customizable sequence of phases.Ludovic Courtès2012-06-16
| | | | | | | | | | | | | | | * 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.
* Add supporting tools for the GNU Build System.Ludovic Courtès2012-06-13
* 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.