~ruther/guix-local

ref: 7facbf2b58f80afffedbb9230ec7ab9b61232dfe guix-local/guix/download.scm -rw-r--r-- 10.3 KiB
5608847c — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
59688fc4 — Ludovic Courtès 12 years ago
derivations: 'derivation' and related procedures return a single value.

* guix/derivations.scm (derivation->output-path,
  derivation->output-paths): New procedures.
  (derivation-path->output-path): Use 'derivation->output-path'.
  (derivation-path->output-paths): Use 'derivation->output-paths'.
  (derivation): Accept 'derivation?' objects as inputs.  Return a single
  value.
  (build-derivations): New procedure.
  (compiled-modules): Use 'derivation->output-paths'.
  (build-expression->derivation)[source-path]: Add case for when the
  input matches 'derivation?'.
  [prologue]: Accept 'derivation?' objects in INPUTS.
  [mod-dir, go-dir]: Use 'derivation->output-path'.
* guix/download.scm (url-fetch): Adjust to the single-value return.
* guix/packages.scm (package-output): Use 'derivation->output-path'.
* guix/scripts/build.scm (guix-build): When the argument is
  'derivation-path?', pass it through 'read-derivation'.
  Use 'derivation-file-name' to print out the .drv file names, and to
  register them.  Use 'derivation->output-path' instead of
  'derivation-path->output-path'.
* guix/scripts/package.scm (roll-back): Adjust to the single-value
  return.
  (guix-package): Use 'derivation->output-path'.
* guix/ui.scm (show-what-to-build): Adjust to deal with 'derivation?'
  objects instead of .drv file names.
* gnu/system/grub.scm (grub-configuration-file): Use
  'derivation->output-path' instead of 'derivation-path->output-path'.
* gnu/system/vm.scm (qemu-image, system-qemu-image): Likewise.
* tests/builders.scm, tests/derivations.scm, tests/packages.scm,
  tests/store.scm, tests/union.scm: Adjust to the new calling
  convention.
* doc/guix.texi (Defining Packages, The Store, Derivations): Adjust
  accordingly.
8ce3104e — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
5d9cd707 — Ludovic Courtès 12 years ago
download: Add kernel.org mirrors.

Fixes <http://bugs.gnu.org/15182>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/download.scm (%mirrors)[kernel.org]: Add ftp.be.debian.org and
  mirror.linux.org.au.
3bba7b0a — Ludovic Courtès 12 years ago
download: Add Savannah's master site.

* guix/download.scm (%mirrors): Add the "-noredirect" version of
  Savannah.
d501fad1 — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates

Conflicts:
	gnu/packages/make-bootstrap.scm
7fa37abc — Ludovic Courtès 12 years ago
gnu: Add ImageMagick.

* gnu/packages/imagemagick.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/download.scm (%mirrors): Add `imagemagick' entry.
0734a9a8 — Ludovic Courtès 13 years ago
Merge branch 'core-updates'
a9db7d10 — Ludovic Courtès 13 years ago
Merge branch 'master' into core-updates

Conflicts:
	Makefile.am
	gnu/packages/autotools.scm
	gnu/packages/guile.scm
	gnu/packages/python.scm
	gnu/packages/shishi.scm
	guix/gnu-maintenance.scm
	guix/scripts/build.scm
	guix/scripts/gc.scm
	guix/scripts/package.scm
	guix/scripts/substitute-binary.scm
	guix/ui.scm
	nix/nix-daemon/guix-daemon.cc
	test-env.in
	tests/nar.scm
	tests/store.scm
861693f3 — Ludovic Courtès 13 years ago
Factorize `download-and-store'.

* guix/download.scm (download-to-store): New procedure.
* guix/scripts/download.scm (fetch-and-store): Remove.
  (guix-download): Use `download-to-store' instead.
* guix/ui.scm (call-with-temporary-output-file): Move to...
* guix/utils.scm (call-with-temporary-output-file): ... here.
6be960c7 — Andreas Enge 13 years ago
Merge branch 'xorg' into core-updates
4928e500 — Ludovic Courtès 13 years ago
Merge branch 'master' into core-updates

Conflicts:
	Makefile.am
	gnu/packages/base.scm
c9f94132 — Ludovic Courtès 13 years ago
download: Remove unreliable GNU mirror.

* guix/download.scm (%mirrors)[gnu]: Remove ftp.chg.ru.
0820a58b — Andreas Enge 13 years ago
gnu: xorg: Fix http mirror and uncomment xcb packages.

* guix/download.scm (%mirrors): Fix main http mirror address.
* gnu/packages/xorg.scm (libpthread-stubs, libxcb, xcb-proto): Uncomment
     and add licenses.
71eb5c10 — Ludovic Courtès 13 years ago
gnu: Add intltool.

* guix/download.scm (%mirrors): Add `gnome' mirrors.
* gnu/packages/glib.scm (intltool): New variable.
81eec00c — Ludovic Courtès 13 years ago
Merge branch 'master' into core-updates

Conflicts:
	Makefile.am
	guix/scripts/gc.scm
	guix/scripts/package.scm
	guix/ui.scm
	tests/guix-package.sh
6af31019 — Ludovic Courtès 13 years ago
download: Add CPAN mirrors.

* guix/download.scm (%mirrors)[cpan]: New URLs.
149acc29 — Andreas Enge 13 years ago
download: Add X.org mirrors.

* guix/download.scm (%mirrors): Add `xorg'.
47f9db41 — Ludovic Courtès 13 years ago
download: Add Apache mirrors.

* guix/download.scm (%mirrors): Add `apache'.
483f1158 — Ludovic Courtès 13 years ago
download: Add HTTPS support.

* guix/build/download.scm: Autoload (gnutls).
  (tls-wrap): New procedure.
  (open-connection-for-uri): Add support for `https'.  Wrap the socket
  with `tls-wrap' in that case.
  (url-fetch): Add `https'.
* guix/download.scm (gnutls-derivation): New procedure.
  (url-fetch)[need-gnutls?]: New variable.
  Call `gnutls-derivation' when NEED-GNUTLS? is true, and add its output
  to the `GUILE_LOAD_PATH' env. var. in that case.
Next