~ruther/guix-local

89d02b98 — Ludovic Courtès 12 years ago
ui: define-diagnostic: Don't mark `_' and `N_' as literals.

* guix/ui.scm (define-diagnostic): Use `free-identifier=?' to compare
  the user's input with `_' and `N-".  This should fix builds with Guile 2.1.
  Reported by Cojocaru Alexandru <xojoc@gmx.com>.
5282181d — Ludovic Courtès 12 years ago
build-system/python: Avoid circular dependency.

This fixes a circular dependency introduced in commit acc26ff ("gnu: Add
pytz.").

* guix/build-system/python.scm (default-python): New procedure.
  (python-build): Use it.
cf5d2ca3 — Ludovic Courtès 12 years ago
substitute-binary: Gracefully exit upon networking errors.

Suggested by Andreas Enge <andreas@enge.fr>.

* guix/scripts/substitute-binary.scm (with-networking): New macro.
  (guix-substitute-binary): Wrap the body in `with-networking'.
56b1f4b7 — Ludovic Courtès 12 years ago
build, package: Add `--fallback' option.

* guix/scripts/build.scm (%options, show-help): Add `--fallback'.
  (guix-build): Call `set-build-options' with #:fallback?.
* guix/scripts/package.scm (%options, show-help): Add `--fallback'.
  (guix-package): Call `set-build-options' with #:fallback?.
* doc/guix.texi (Invoking guix package, Invoking guix build): Document
  `--fallback'.
c3eb878f — Ludovic Courtès 12 years ago
store: Test the `fallback?' store option.

* guix/store.scm (set-build-options): Rename #:try-fallback? to #:fallback?.
* tests/store.scm ("substitute --fallback"): New test.
acc26ff1 — Cyril Roelandt 12 years ago
gnu: Add pytz.

* gnu/packages/python.scm (pytz): New package.
4f7e152b — Ludovic Courtès 12 years ago
gnu: Add torsocks.

* gnu/packages/tor.scm (torsocks): New variable.
842ded33 — Cyril Roelandt 12 years ago
python-build-system: add a check phase.

* guix/build/python-build-system.scm (check): New procedure.
  (%standard-phases): Use it.
9b222abe — Ludovic Courtès 12 years ago
packages: Raise an error condition a cross builder is needed but unavailable.

* guix/packages.scm (&package-cross-build-system-error): New condition type.
  (package-cross-derivation): Raise &package-cross-build-system-error
  when the build system doesn't support cross builds.
* guix/ui.scm (call-with-error-handling): Add
  package-cross-build-system-error? case.
* tests/packages.scm ("package-cross-derivation, no cross builder"): New test.
ea84ec77 — Ludovic Courtès 12 years ago
build-system/gnu: Fix typo in `gnu-cross-build'.

* guix/build-system/gnu.scm (gnu-cross-build)[builder]: When
  IMPLICIT-TARGET-INPUTS is #f, default to '().
58b4e8e8 — Ludovic Courtès 12 years ago
gnu: guile: More cross-compilation tweaks.

* gnu/packages/guile.scm (guile-2.0): When cross-compiling, unset
  GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH, and set
  CC_FOR_BUILD=gcc.
d581acee — Ludovic Courtès 12 years ago
gnu: pkg-config: Provide a cross-build-friendly wrapper.

* gnu/packages/pkg-config.scm (pkg-config): Rename to...
  (%pkg-config): ... this.  Make private.
  (cross-pkg-config, pkg-config-for-target): New procedures.
  (pkg-config): New macro.
47e74d6e — Ludovic Courtès 12 years ago
gnu: cross-binutils: Build with `--with-sysroot'.

This fixes resolution of DT_NEEDED entries in cross-built libraries.
For instance, if ltdl.so needs libdl.so and has it in its RUNPATH, then
libdl.so is searched for in the right place.

* gnu/packages/cross-base.scm (cross-binutils): Pass
  `--with-sysroot=/no-such-path'.
4bfc4ea3 — Nikita Karetnikov 12 years ago
doc: Improve wording and fix typos in "Introduction" and "Requirements".

* doc/guix.texi (Introduction, Requirements): Rephrase and fix typos.
9c782445 — Ludovic Courtès 12 years ago
gnu: guile: Add Bash as an input, to permit cross-compilation.

* gnu/packages/guile.scm (guile-2.0): Add Bash as an input
  when (%current-target-system) is true.  Use %standard-cross-phases as
  a basis when (%current-target-system) is true.
9a97b814 — Ludovic Courtès 12 years ago
gnu: bash: Fix cross-compilation.

* gnu/packages/bash.scm (bash): Pass "bash_cv_job_control_missing=no"
  when (%current-target-system) is true.
aa289a3e — Ludovic Courtès 12 years ago
build: `hydra.scm' really cross-builds Gettext.

* hydra.scm: Import (gnu packages gettext).
a67f97fe — Cyril Roelandt 12 years ago
zlib: Add a sourceforge mirror.

This is especially useful since the tarball is deleted from zlib.net as soon as
a new version of zlib is released.
923fbae1 — Ludovic Courtès 12 years ago
build: Add missing import in `hydra.scm'.

* hydra.scm: Import (gnu packages gawk).
598608c7 — Ludovic Courtès 12 years ago
build: `hydra.scm' cross-builds a few more packages.

* hydra.scm (%packages-to-cross-build): Add a few packages.
Next