cdf2022052
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. |
||
---|---|---|
.. | ||
build | ||
build-system | ||
scripts | ||
base32.scm | ||
build-system.scm | ||
config.scm.in | ||
derivations.scm | ||
download.scm | ||
ftp-client.scm | ||
gnu-maintenance.scm | ||
licenses.scm | ||
nar.scm | ||
packages.scm | ||
serialization.scm | ||
snix.scm | ||
store.scm | ||
ui.scm | ||
utils.scm |