~ruther/guix-local

8ef3401f — Ludovic Courtès 13 years ago
Make `define-record-type*' error messages more informative.

* guix/utils.scm (define-record-type*): In case of missing or extra
  field initializers, raise a descriptive `syntax-error'.
888f72e9 — Ludovic Courtès 13 years ago
distro: libsigsegv: Use multiple outputs.

* distro/base.scm (libsigsegv)[outputs]: New field
  (gawk)[arguments]: Clear.
  [inputs]: Add the "lib" output of LIBSIGSEGV.
9336b5ab — Ludovic Courtès 13 years ago
guix-build: Display multiple outputs when needed.

* guix-build.in (guix-build): Display multiple outputs when there's more
  than one.
d66ac374 — Ludovic Courtès 13 years ago
derivation: Coalesce multiple occurrences of the same input.

* guix/derivations.scm (write-derivation)[coalesce-duplicate-inputs]:
  New procedure.
  Use it to process INPUTS.

* tests/derivations.scm ("user of multiple-output derivation"): New
  test.
5f904ffb — Ludovic Courtès 13 years ago
build: Don't auto-compile tests.

* Makefile.am (TESTS_ENVIRONMENT): Add `--no-auto-compile'.
08005c65 — Ludovic Courtès 13 years ago
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.
e36a7172 — Ludovic Courtès 13 years ago
Upgrade Nix worker protocol.

We were already relying on the new version in `set-build-options', so
this patch fixes that.

* guix/store.scm (%protocol-version): Increase.
  (open-connection)[reserve-space?]: New argument.  Pass it to the
  server when it's recent enough.
561eaf71 — Ludovic Courtès 13 years ago
derivation: Move sorting code to `write-derivation'.

* guix/derivations.scm (write-derivation): Sorte OUTPUTS, INPUTS,
  SOURCES, and ENV-VARS alphabetically.
  (derivation-hash): Leave INPUTS, SOURCES, and OUTPUTS unsorted.
  (derivation)[env-vars-with-empty-outputs]: Leave ENV-VARS unsorted.
0a042340 — Ludovic Courtès 13 years ago
build: Use `AM_GNU_GETTEXT_VERSION'.

* configure.ac: Add `AM_GNU_GETTEXT_VERSION'.  Suggested by
  Antono Vasiljev.
4b1786aa — Ludovic Courtès 13 years ago
Fix `derivation-hash' for outputs not sorted alphabetically.

* guix/derivations.scm (derivation-hash): Reorder OUTPUTS.
* tests/derivations.scm ("multiple-output derivation, non-alphabetic
  order"): New test.
062c6927 — Ludovic Courtès 13 years ago
Add `propagated-inputs' and `properties' to <package>.

* guix/packages.scm (<package>)[propagated-inputs, properties]: New
  fields.
  (package-derivation): Update `match' clause.
a1e4a936 — Ludovic Courtès 13 years ago
Update list of dependencies.

* README: Require libgcrypt or libchop.
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.
Next