~ruther/guix-local

ccbce848 — Ludovic Courtès 13 years ago
tests: Add `guix hash' test.

* guix/scripts/hash.scm (guix-hash)[eof->null]: New procedure.
  Use it to convert the EOF object to the empty bytevector.
* tests/guix-hash.sh: New file.
* Makefile.am (SH_TESTS): Add it.
438bb042 — Ludovic Courtès 13 years ago
Update Nix sub-module.

* nix-upstream: Update to 3a0cc43ac89ae8f778764c9f5e27b361e4986913
  (Nix ~1.5.2).
f9230085 — Ludovic Courtès 13 years ago
refresh: Add `--key-server' and `--gpg'.

* guix/scripts/refresh.scm (%options): Add `--key-server' and `--gpg'.
  (show-help): Update accordingly.
  (update-package): New procedure, formerly in `guix-refresh'.
  (guix-refresh): Use it.  Parameterize `%openpgp-key-server' and
  `%gpg-command'.
0ba91c94 — Ludovic Courtès 13 years ago
gnupg: Turn the GPG command name and keyserver into parameters.

* guix/gnupg.scm (%gpg-command): Turn into a SRFI-39 parameter.
  (%openpgp-key-server): Likewise.  Default to pgp.mit.edu, as
  keys.gnupg.net is unreliable.
  Update users.
8cc9e7f9 — Ludovic Courtès 13 years ago
gnu: Add CHICKEN.

* gnu/packages/scheme.scm (chicken): New variable.
25c93676 — Ludovic Courtès 13 years ago
ui: Invite users to try `--help' in the error message.

* guix/ui.scm (show-guix-usage): Mention `guix --help'.
  Suggested by Mark H. Weaver.
  (run-guix-command): Invoke it when a command is not found.
  (guix-main): Adjust accordingly.
e3729544 — Ludovic Courtès 13 years ago
Update `NEWS'.
741c70c6 — Ludovic Courtès 13 years ago
package: Store the output path of packages installed with `-e'.

* guix/scripts/package.scm (guix-package)[process-actions](package->tuple):
  Put the output path in the tuple, not the derivation path.
* tests/guix-package.sh: Add test.
94a4b3b9 — Ludovic Courtès 13 years ago
package: Make sure the dependencies get built along with the manifest.

Before this, something like "guix package -i glibc" could fail because
glibc lists linux-libre-headers as a propagated input (which would be
added as a dependency in the manifest) but the linux-libre-headers
output could be unavailable, leading to an error like this:

  path `/nix/store/4v2bk8sx5cm166gks3fi3q7d9zchibnk-linux-libre-headers-3.3.8' is not valid

This patch adds such dependencies as inputs of the profile derivation.

* guix/scripts/package.scm (profile-derivation): Accept package objects
  in the `deps' field of an element of PACKAGES.  Convert them to their
  output path for BUILDER, and add them to the inputs of the
  `build-expression->derivation' call.
  (input->name+path): When INPUT doesn't contain a package object,
  return it as is.
  (guix-package)[process-actions](canonicalize-deps): Expect DEPS to
  contain package objects, and leave them as is.
8c247e1c — Ludovic Courtès 13 years ago
Update `TODO'.
fe3e603d — Ludovic Courtès 13 years ago
refresh: Gracefully handle failure to download a tarball.

* guix/scripts/refresh.scm (guix-refresh): When updating a source file,
  gracefully handle the case where TARBALL is #f.
  Reported by Nikita Karetnikov <nikita@karetnikov.org>.
e31ff8b8 — Ludovic Courtès 13 years ago
ui: Implement `guix --help'.

* guix/ui.scm (command-files, commands, show-guix-help): New procedures.
  (guix-main): Invoke `show-guix-help' when passed `--help'.
ec5d0a85 — Ludovic Courtès 13 years ago
ui: Gracefully report "command not found" errors.

* guix/ui.scm (run-guix-command): Can `resolve-interface' errors and
  report them with `leave'.  Parameterize `program-name' from here.
  (guix-main): Remove parameterization of `program-name'.
a4007c98 — Ludovic Courtès 13 years ago
gnu-maintenance: Add GnuTLS FTP server.

* guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Add GnuTLS.
dd9afe64 — Ludovic Courtès 13 years ago
download: Fix premature socket close on TLS connections.

This would manifest when downloading a large file such as the Bazaar
tarball, leading to an "Error in the pull function" GnuTLS exception.

* guix/build/download.scm (add-weak-reference): New procedure.
  (tls-wrap): Add (add-weak-reference record port).
a81bc531 — Ludovic Courtès 13 years ago
package: Use ~/.guix-profile as the default for --search-paths.

* guix/scripts/package.scm (search-path-environment-variables): Prefer
  %USER-ENVIRONMENT-DIRECTORY when it points to PROFILE.
  (display-search-paths): Use 3 spaces for indentation.
9c7dd33a — Ludovic Courtès 13 years ago
build: Make sure the user's Guile has all the required features.

* m4/guix.m4 (GUIX_ASSERT_GUILE_FEATURES): New macro.
* configure.ac: Use it.
cf8f58b2 — Ludovic Courtès 13 years ago
gnu: geiser: Update to 0.4.

* gnu/packages/emacs.scm (geiser): Update to 0.4.
dcee3fc5 — Nikita Karetnikov 13 years ago
gnu: Add GNU Bazaar.

* gnu/packages/bazaar.scm: New file.
* Makefile.am (MODULES): Add it.
40506d5d — Nikita Karetnikov 13 years ago
Add 'python-build-system'.

* guix/build-system/python.scm, guix/build/python-build-system.scm: New files.
* Makefile.am (MODULES): Add them.
Next