~ruther/guix-local

73fbb904 — Ludovic Courtès 13 years ago
build: Build (guix utils) first.

* Makefile.am (MODULES): Move `guix/utils.scm' first.
61526325 — Ludovic Courtès 13 years ago
build: Capitalize the package name.

* configure.ac: Use "Guix", not "guix", as the package name.
14a1c319 — Ludovic Courtès 13 years ago
Add `guix-build'.

* guix-build.in: New file.

* configure.ac: Emit `guix-build'.  Add `commands-exec'.
* Makefile.am (bin_SCRIPTS): New variable.
* po/POTFILES.in: Add `guix-build.in'.
9a20830e — Ludovic Courtès 13 years ago
Add `derivation-prerequisites' and `derivation-prerequisites-to-build'.

* guix/derivations.scm (derivation-prerequisites,
  derivation-prerequisites-to-build): New procedures.

* tests/derivations.scm ("build-expression->derivation and
  derivation-prerequisites", "build-expression->derivation and
  derivation-prerequisites-to-build"): New tests.
31ef99a8 — Ludovic Courtès 13 years ago
Add the `valid-path?' RPC.

* guix/store.scm (valid-path?): New procedure.

* tests/builders.scm ("http-fetch", "gnu-build"): Use it.
* tests/derivations.scm ("add-to-store, flat", "add-to-store,
  recursive", "derivation with no inputs", "build derivation with 1
  source", "build derivation with coreutils",
  "build-expression->derivation with expression returning #f"):
  Likewise.
e036c31b — Ludovic Courtès 13 years ago
Add missing `set-build-options' parameters.

* guix/store.scm (set-build-options)[build-cores, use-substitutes?]: New
  keyword parameters.
  [send]: Change to expect a type, and use `write-arg'.
  Send settings for BUILD-CORES and USE-SUBSTITUTES? when the server
  supports it.
6b1891b0 — Ludovic Courtès 13 years ago
Add (distro) with a package searching facility.

* Makefile.am (MODULES): Add `distro.scm'.

* distro.scm: New file.
* po/POTFILES.in: Add it.

* tests/packages.scm ("find-packages-by-name", "find-packages-by-name
  with version"): New tests.
39b9372c — Ludovic Courtès 13 years ago
Add a libgcrypt-based implementation of `sha256'.

* guix/utils.scm (sha256): Add a libgcrypt-based implementation using
  the FFI.
f68b0893 — Ludovic Courtès 13 years ago
Gettextize, with GNU Gettext 0.18.1.

* Makefile.am (EXTRA_DIST): Add `build-aux/config.rpath'.
  (SUBDIRS, ACLOCAL_AMFLAGS): New variables.

* configure.ac: Use `AM_GNU_GETTEXT'.  Emit `po/Makefile.in'.

* po/Makevars, po/POTFILES.in: New files.
64fddd74 — Ludovic Courtès 13 years ago
distro: Add libsigsegv and GNU Awk.

* guix/packages.scm (<package>)[arguments]: Default to '().

* distro/base.scm (libsigsegv, gawk): New packages.
  (hello): Use GAWK instead of (nixpkgs-derivation "gawk").
d26ad5e4 — Ludovic Courtès 13 years ago
derivation: Remove duplicate inputs.

* guix/derivations.scm (derivation): Remove duplicates from INPUT.
5791d3b6 — Ludovic Courtès 13 years ago
build-system/gnu: Add GNU Awk to the standard inputs.

* guix/build-system/gnu.scm (%standard-inputs): Add GNU Awk.
45753b65 — Ludovic Courtès 13 years ago
packages: Add a `home-page' field.

* guix/packages.scm (<package>)[home-page]: New field.

* distro/base.scm (hello)[home-page]: Initialize.
35f3c5f5 — Ludovic Courtès 13 years ago
Track the source location of packages.

* guix/packages.scm (<location>): New record type.
  (location, source-properties->location): New procedures.
  (<package>)[location]: New field.

* tests/packages.scm ("GNU Hello"): Test `package-location'.
dba6b34b — Ludovic Courtès 13 years ago
Add a sha256 fallback that uses Coreutils instead of libchop.

* guix/utils.scm (compile-time-value): Move to the top.
  (sha256): Add an implementation that uses Coreutils, for when libchop
  is unavailable.
900f7267 — Ludovic Courtès 13 years ago
Introduce `compile-time-value' and use it.

* guix/utils.scm (compile-time-value): New macro.
  (%nixpkgs-directory): Use it.

* guix/build-system/gnu.scm (%standard-inputs): Likewise.
e3ce5d70 — Ludovic Courtès 13 years ago
Add a declarative packaging layer.

* Makefile.am (MODULES): Add `guix/packages.scm' and `distro/base.scm'.
  (TESTS): Add `tests/packages.scm'.
  (EXTRA_DIST): New variable.

* guix/packages.scm, distro/base.scm, tests/packages.scm: New files.

* guix/http.scm (http-fetch): Make `name' an optional argument, to match
  the expectations of `package-source-derivation'.
e1e8874e — Ludovic Courtès 13 years ago
build-system/gnu: Have `configure-flags' and `make-flags' evaluated.

* guix/build-system/gnu.scm (gnu-build): Double-quote the default value
  of MAKE-FLAGS and CONFIGURE-FLAGS.  Don't quote them in BUILDER.
04a0b857 — Ludovic Courtès 13 years ago
build: Define $NIXPKGS when compiling.

* Makefile.am (.scm.go): Define $NIXPKGS.
208f7cd1 — Ludovic Courtès 13 years ago
Abstract build systems.

* Makefile.am (MODULES): Add `guix/build-system.scm' and
  `guix/build-system/gnu.scm'.  Remove `guix/gnu-build-system.scm'.

* guix/build-system.scm: New file.
* guix/gnu-build-system.scm: Rename to...
* guix/build-system/gnu.scm: ... this.
  (gnu-build-system): New variable.

* tests/builders.scm: Adjust `use-module' clauses.
  ("gnu-build-system"): New test.
Next