~ruther/guix-local

ref: 505b1aa88fc900b85c978fec55a25d47266140f6 guix-local/guix/download.scm -rw-r--r-- 11.0 KiB
d91a8791 — Ludovic Courtès 12 years ago
download: 'download-to-store' accepts plain file names.

* guix/download.scm (download-to-store): When URI is #f, assume that URL
  is a file name, and handle it.
56c72822 — Ludovic Courtès 12 years ago
download: Perform derivations locally.

* guix/download.scm (url-fetch): Pass #:local-build? #t to
  'build-expression->derivation'.
* guix/git-download.scm (git-fetch): Likewise.
f06afd4d — Ludovic Courtès 12 years ago
download: Add archive.apache.org to the Apache mirrors.

* guix/download.scm (%mirrors)[apache]: Add archive.apache.org as a last
  resort.
dd1a5a15 — Ludovic Courtès 12 years ago
derivations: Use more keyword parameters for 'build-expression->derivation'.

* guix/derivations.scm (build-expression->derivation): Turn 'system' and
  'inputs' into keyword parameters.
  Adjust callers accordingly.
* gnu/system/linux.scm, gnu/system/vm.scm, guix/build-system/cmake.scm,
  guix/build-system/gnu.scm, guix/build-system/perl.scm,
  guix/build-system/python.scm, guix/build-system/trivial.scm,
  guix/download.scm, guix/packages.scm, guix/profiles.scm,
  guix/scripts/pull.scm, tests/derivations.scm, tests/guix-build.sh,
  tests/monads.scm, tests/store.scm, tests/union.scm: Adjust users of
  'build-expression->derivation' and 'derivation-expression'
  accordingly.
* doc/guix.texi (Derivations): Adjust 'build-expression->derivation'
  documentation accordingly.
  (The Store Monad): Likewise for 'derivation-expression'.
ff8061b5 — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
d8907ac4 — Ludovic Courtès 12 years ago
download: Support 'file://' URLs.

* guix/download.scm (download-to-store): When URL has a 'file' scheme or
  no scheme, use 'add-to-store' directly.
e0029b74 — Ludovic Courtès 12 years ago
download: Add Debian mirrors.

* guix/download.scm (%mirrors)[debian]: New set of mirrors.
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.
Next