guix-play/guix
Ludovic Courtès fe0cff14f6 substitute-binary: Implement `--substitute'.
This allows build outputs to be transparently downloaded from
http://hydra.gnu.org, for example.

* config-daemon.ac: Check for `gzip', `bzip2', and `xz'.
* guix/config.scm.in (%gzip, %bzip2, %xz): New variable.
* guix/scripts/substitute-binary.scm (fetch): Return SIZE as a second value.
  (<narinfo>): Change `url' to `uri'.
  (make-narinfo): Rename to...
  (narinfo-maker): ... this.  Handle relative URLs.
  (fetch-narinfo): Adjust accordingly.
  (filtered-port, decompressed-port): New procedures.
  (guix-substitute-binary): Implement the `--substitute' case.
* tests/store.scm ("substitute query"): Use (%store-prefix) instead
  of (getenv "NIX_STORE_DIR").
  ("substitute"): New test.
2013-04-12 17:31:01 +02:00
..
build Add (guix build-system cmake). 2013-03-28 21:04:54 +01:00
build-system Add (guix build-system cmake). 2013-03-28 21:04:54 +01:00
scripts substitute-binary: Implement `--substitute'. 2013-04-12 17:31:01 +02:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
build-system.scm Update license headers. 2013-01-06 00:47:50 +01:00
config.scm.in substitute-binary: Implement `--substitute'. 2013-04-12 17:31:01 +02:00
derivations.scm derivations: Optimize `build-expression->derivation'. 2013-03-16 17:23:17 +01:00
download.scm download: Remove unreliable GNU mirror. 2013-03-27 15:50:18 +01:00
ftp-client.scm ftp-client: Add `ftp-size'. 2013-01-06 18:23:44 +01:00
gnu-maintenance.scm gnu-maintenance: Adjust `http-fetch' to the various Guile versions. 2013-04-01 00:41:55 +02:00
licenses.scm licenses: Add 'x11-style'. 2013-03-06 20:40:11 +00:00
nar.scm nar: Add support for symlinks. 2013-04-12 14:42:56 +02:00
packages.scm packages: Remove the default value for `license'. 2013-03-07 00:42:18 +01:00
serialization.scm Add (guix nar) and (guix serialization). 2013-04-04 22:29:08 +02:00
snix.scm snix: Adjust import to current Nixpkgs input attribute names. 2013-03-29 00:16:58 +01:00
store.scm Add (guix nar) and (guix serialization). 2013-04-04 22:29:08 +02:00
ui.scm ui: Add a `warning' macro. 2013-04-11 22:30:06 +02:00
utils.scm Add version-compare and version>? to utils.scm. 2013-02-12 20:34:25 -05:00