~ruther/guix-local

5f805fdf — Ludovic Courtès 13 years ago
distro: Bootstrap with a joint GCC/Binutils/GMP/MPFR/MPC build.

* distro/base.scm (%bootstrap-inputs): Remove GMP, MPFR, and MPC.
  (substitute-keyword-arguments): New macro.
  (gcc-boot0): Add dependency on the Binutils, GMP, MPFR, and MPC
  tarballs.  Add a `unpack-binutils&co' phase to unpack them and symlink
  them so they get built, and to patch errors in `configure'.
  (glibc-final): Use `substitute-keyword-arguments' instead of a loop.
  (gcc-final): Inherit from GCC-4.7 instead of GCC-BOOT0.
181df118 — Ludovic Courtès 13 years ago
distro: gcc: Avoid retention of reference to `sed'.

* distro/base.scm (gcc-4.7)[pre-configure]: Patch fixincl.x.
5f456680 — Ludovic Courtès 13 years ago
distro: glibc: Assume a recent Linux kernel.

* distro/base.scm (glibc): Pass "--enable-kernel=2.6.30".
dc1045be — Ludovic Courtès 13 years ago
packages: Accept <origin> as package inputs.

* guix/packages.scm (package-derivation): Accept use of an <origin> as
  an input.
1f34bda1 — Ludovic Courtès 13 years ago
build-system/gnu: Relax location handling in `package-with-explicit-inputs'.

* guix/build-system/gnu.scm (package-with-explicit-inputs): Convert LOC
  when it is a source-property list.
a08cdce7 — Ludovic Courtès 13 years ago
distro: mpc: Upgrade to 1.0.

* distro/base.scm (mpc): Upgrade to 1.0.
2847050a — Ludovic Courtès 13 years ago
packages: Add `package-full-name'.

* guix/packages.scm (package-full-name): New procedure.
  (package-derivation): Use it.
609354bf — Ludovic Courtès 13 years ago
guix-build: Add `--derivations'.

* guix-build.in (show-help): Add `--derivations'.
  (%options): Likewise.
  (guix-build): Handle it.
5dba3149 — Ludovic Courtès 13 years ago
guix-build: Add `--source'.

* guix-build.in (derivations-from-package-expressions): Add `source?'
  parameter.  Honor it.
  (show-help): Add `--source'.
  (%options): Likewise.
  (guix-build): Honor `--source'.
ff352cfb — Ludovic Courtès 13 years ago
Move <location> to (guix utils).

* guix/packages.scm (<location>, location): Move to...
* guix/utils.scm: ... here.
ea52a52d — Ludovic Courtès 13 years ago
distro: bash, readline: Correctly set RUNPATH to the dependencies.

* distro/base.scm (readline): Add configure flags to set an rpath on
  ncurses.
  (bash): Add configure flags to set an rpath to readline and ncurses.
6818af7b — Ludovic Courtès 13 years ago
distro: Add bzip2.

* distro/base.scm (bzip2): New variable.
  (%final-inputs): Add bzip2.
60f984b2 — Ludovic Courtès 13 years ago
distro: Bootstrap standard inputs from Nixpkgs.

This is a first step towards bootstrapping from a set of pre-built,
statically-linked binaries.

* guix/build-system/gnu.scm (package-with-explicit-inputs,
  standard-inputs): New procedure.
  (%store): New variable.
  (%standard-inputs): Remove.
  (gnu-build): New `implicit-inputs?' keyword parameter.  Use it to
  choose whether to use `(standard-inputs SYSTEM)' or the empty list.

* distro/base.scm (guile-2.0): Remove dependency on XZ, which is now
  implicit.
  (%bootstrap-inputs, gcc-boot0, binutils-boot0, linux-headers-boot0,
  %boot1-inputs, glibc-final, %boot2-inputs, m4-boot2, gmp-boot2,
  mpfr-boot2, mpc-boot2, %boot3-inputs, gcc-final, %boot4-inputs,
  %final-inputs): New variables.
113aef68 — Ludovic Courtès 13 years ago
packages: Add `package-transitive-propagated-inputs'.

* guix/packages.scm (transitive-inputs): New procedure.
  (package-transitive-inputs): Rewrite in terms of `transitive-inputs'.
  (package-transitive-propagated-inputs): New procedure.
a2ebaddd — Ludovic Courtès 13 years ago
packages: Cache the result of `package-derivation'.

* guix/packages.scm (%derivation-cache): New variable.
  (cache, cached-derivation): New procedures.
  (package-derivation): Use them.
8bb9f66f — Ludovic Courtès 13 years ago
distro: recutils: Allow builds with glibc 2.16+.

* distro/base.scm (recutils): Apply. `diffutils-gets-undeclared.patch'.
0a3da5b7 — Ludovic Courtès 13 years ago
distro: glibc: Propagate Linux headers.

* distro/base.scm (glibc): Move LINUX-HEADERS from `native-inputs' to
  `propagated-inputs'.  Remove unnecessary `_' in /bin/pwd substitution.
a5071b99 — Ludovic Courtès 13 years ago
distro: diffutils: Allow builds with glibc 2.16+.

* distro/patches/diffutils-gets-undeclared.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.

* distro/base.scm (diffutils): Apply. `diffutils-gets-undeclared.patch'.
472894aa — Ludovic Courtès 13 years ago
distro: tar: Allow builds with glibc 2.16+.

* distro/patches/tar-gets-undeclared.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.

* distro/base.scm (tar): Apply. `tar-gets-undeclared.patch'.
946b72c9 — Ludovic Courtès 13 years ago
packages: Add a printer for <package>.

* guix/packages.scm (<package>): Add record printer.
Next