~ruther/guix-local

ref: 21e583def33ecf9e9bae3a18df875cd3380e14ec guix-local/guix/packages.scm -rw-r--r-- 40.0 KiB
bbceb0ef — Ludovic Courtès 11 years ago
packages: Add 'supported-package?'.

* guix/packages.scm (supported-package?): New procedure.
* tests/packages.scm ("supported-package?"): New test.
* build-aux/hydra/gnu-system.scm (package->job): Use it instead of
  'package-transitive-supported-systems'.
334345d9 — Mark H Weaver 11 years ago
Merge branch 'core-updates'
1590e8a1 — Ludovic Courtès 11 years ago
packages: Refer to the native tools when handling sources and downloads.

* guix/packages.scm (patch-and-repack)[build]: Change most #$ to #+.
* guix/cvs-download.scm (cvs-fetch)[build]: Likewise.
* guix/download.scm (url-fetch)[builder]: Likewise.
* guix/git-download.scm (git-fetch)[build]: Likewise.
* guix/svn-download.scm (svn-fetch)[build]: Likewise.
9bf3ced0 — Ludovic Courtès 11 years ago
packages: 'package-transitive-supported-systems' accounts for implicit inputs.

Reported by Federico Beffa.

* guix/packages.scm (package-transitive-supported-systems): Use
  bag-direct-inputs + package->bag rather than package-direct-inputs.
* tests/packages.scm ("package-transitive-supported-systems"): Add
  explicit 'build-system' field to each 'dummy-package' form.
  ("package-transitive-supported-systems, implicit inputs"): New test.
cceab875 — Ludovic Courtès 11 years ago
packages: Add 'bag-direct-inputs'.

* guix/packages.scm (bag-direct-inputs): New procedure.
  (bag-transitive-inputs): Use it.
17287d7d — Eric Bavier 11 years ago
packages: Add zip archive support to 'patch-and-repack'.

Fixes <http://bugs.gnu.org/19830>.

* guix/packages.scm (%standard-patch-inputs): Add "unzip".
  (patch-and-repack)[decompression-type]: Detect zip archive.
  [build]: Invoke "unzip" when appropriate.
a158484d — Ludovic Courtès 11 years ago
packages: Make sure the patch inputs are not #f.

Fixes build issues whereby #:inputs would be #f.  See
<http://hydra.gnu.org/build/320333/nixlog/4/tail-reload>.

* guix/packages.scm (patch-and-repack): #:input defaults to #f.
  [lookup-input]: When INPUTS is #f, use (%standard-patch-inputs).
ec3b1c57 — Ludovic Courtès 11 years ago
gnu: Use 'glibc-utf8-locales-final' in the default patching inputs.

* gnu/packages/commencement.scm (glibc-utf8-locales-final): Make public.
* guix/packages.scm (%standard-patch-inputs): Use
  GLIBC-UTF8-LOCALES-FINAL instead of GLIBC-UTF8-LOCALES.
cf87cc89 — Ludovic Courtès 11 years ago
packages: Rewrite 'patch-and-repack' using gexps.

* guix/packages.scm (patch-and-repack): Remove 'store' parameter and
  change default value of #:inputs to (%standard-patch-inputs).
  [lookup-input, instantiate-patch]: New procedures.
  [patch-inputs]: Remove.
  [builder]: Rename to...
  [build]: ... this.  Use gexps instead of sexps.
  (patch-and-repack*): Remove.
  (origin->derivation): Use 'patch-and-repack' instead of
  'patch-and-repack*'.
* tests/packages.scm ("package-source-derivation,
  snippet")[source](snippet): Remove references to '%build-inputs' and
  '%outputs'.
381c540b — Ludovic Courtès 11 years ago
Merge branch 'master' into core-updates
ff40e9b7 — Ludovic Courtès 11 years ago
gexp: Move the package and origin compilers to (guix packages).

From now own, (guix packages) depends on (guix gexps); it was the other
way around now.  This means that (guix packages) code can use gexps.

* guix/gexp.scm (origin-compiler, package-compiler): Remove.
  (default-guile-derivation): New procedure.
  (gexp->derivation): Use it instead of 'default-guile' +
  'package->derivation'.
* guix/packages.scm (default-guile-derivation): New procedure.
  (package-compiler, origin-compiler): New variables.
* doc/guix.texi (G-Expressions): Mention extensibility.
9d8100f4 — Ludovic Courtès 11 years ago
packages: Move grafting parameter to (guix derivations).

* guix/packages.scm (%graft?, set-grafting): Move to...
* guix/derivations.scm: ... here.
12890625 — Ludovic Courtès 11 years ago
Merge branch 'core-updates'.
4db87162 — Ludovic Courtès 11 years ago
packages: Set the port conversion strategy to 'error'.

Suggested by Mark H Weaver.

* guix/build/gnu-build-system.scm (gnu-build): Set
  %DEFAULT-PORT-CONVERSION-STRATEGY to 'error.
* guix/packages.scm (patch-and-repack)[builder]: Likewise.
9cca706c — Ludovic Courtès 11 years ago
packages: When possible, use a UTF-8 locale in patch-and-repack.

* guix/packages.scm (%standard-patch-inputs): Add "locales".
  (patch-and-repack)[builder]: Add 'locales' variable.  When it is true,
  call 'setenv' and 'setlocale'.
93be4e8e — Ludovic Courtès 11 years ago
Merge branch 'master' into core-updates
b8bedf60 — Ludovic Courtès 11 years ago
packages: Add 'set-grafting' procedure.

* guix/packages.scm (set-grafting): New procedure.
6b1f9721 — Ludovic Courtès 11 years ago
packages: Mark the 'patches' field as delayed.

* guix/packages.scm (<origin>)[patches]: Mark as 'delayed'.
  (print-origin, origin->derivation): Add call to 'force' when accessing
  'patches'.
4e190c28 — Ludovic Courtès 11 years ago
store: Make '%store-monad' an alias for '%state-monad'.

* guix/store.scm (define-alias): New macro.
  (%store-monad, store-return, store-bind): Define as aliases of the
  corresponding %STATE-MONAD part.
  (store-lift, text-file, interned-file): Return STORE as a second
  value.
  (run-with-store): Use 'run-with-state'.
* guix/packages.scm (set-guile-for-build, package-file): Return STORE as
  a second value.
* guix/monads.scm: Remove part of the module commentary.
57b7e1a6 — Ludovic Courtès 11 years ago
Merge branch 'core-updates'

Conflicts:
	gnu/packages/bootstrap.scm
Next