guix-play/guix
Ludovic Courtès cdf2022052 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 21:58:47 +02:00
..
build packages: Add `native-search-paths' field and honor it. 2013-03-30 22:57:03 +01:00
build-system build-system/gnu: Fix search path computation with implicit inputs. 2013-04-09 19:01:21 +02:00
scripts substitute-binary: Implement `--substitute'. 2013-04-12 21:58:47 +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 21:58:47 +02:00
derivations.scm derivations: Optimize `build-expression->derivation'. 2013-03-16 17:23:17 +01:00
download.scm Merge branch 'xorg' into core-updates 2013-04-04 18:49:28 +02: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-12 21:57:57 +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 21:58:47 +02:00
packages.scm packages: Add `native-search-paths' field and honor it. 2013-03-30 22:57:03 +01:00
serialization.scm Add (guix nar) and (guix serialization). 2013-04-12 21:57:58 +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-12 21:57:58 +02:00
ui.scm ui: Add a `warning' macro. 2013-04-12 21:58:46 +02:00
utils.scm Add version-compare and version>? to utils.scm. 2013-02-27 20:55:38 +01:00