guix/guix
Ludovic Courtès 8c9653b373 build-system/python: Delay evaluation of the 'python2' package.
This fixes a bug whereby uses of 'package-with-python2' at the top-level
in modules other than (gnu packages python) could lead to an "Unbound
variable: python2" error due to the circular references.

Reported by Tomáš Čech.

* guix/build-system/python.scm (package-with-explicit-python)[arguments]:
  Check whether PYTHON is a promise, and force it if it is.
  (package-with-python2): Wrap 'default-python2' call in 'delay'.
2015-03-12 19:31:25 +01:00
..
build Merge branch 'core-updates'. 2015-03-04 14:07:23 +01:00
build-system build-system/python: Delay evaluation of the 'python2' package. 2015-03-12 19:31:25 +01:00
import import: cpan: Change %corelist into a promise. 2015-02-20 16:28:05 -05:00
scripts lint: Add tests for the 'source' checker. 2015-03-05 22:17:36 +01:00
base32.scm
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm
config.scm.in
cvs-download.scm Add support for 'cvs-fetch' method in origins. 2015-02-04 01:51:20 -05:00
derivations.scm gexp: Implement 'imported-modules' & co. using 'gexp->derivation'. 2015-02-13 17:28:19 +01:00
download.scm gnu: Add R. 2015-02-16 16:35:41 +01:00
elf.scm
ftp-client.scm
gcrypt.scm Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
gexp.scm gexp: Make sure 'gexp-outputs' removes duplicate outputs. 2015-03-02 16:26:13 +01:00
git-download.scm packages: Convert source derivations to monadic style. 2015-01-14 14:42:10 +01:00
gnu-maintenance.scm
gnupg.scm
hash.scm hash: Initialize libgcrypt before use. 2015-01-26 21:58:12 +01:00
http-client.scm http-client: Monkey-patch 'make-chunked-input-port' on Guile <= 2.0.11. 2015-03-03 22:58:45 +01:00
licenses.scm licenses: Add IPA Font License. 2015-02-24 16:09:30 +01:00
monad-repl.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
monads.scm doc: Document '%state-monad' and update '%store-monad' description. 2015-01-17 23:45:48 +01:00
nar.scm nar: Read archive signatures as Latin-1 strings. 2015-01-18 22:19:04 +01:00
packages.scm packages: Set the port conversion strategy to 'error'. 2015-02-28 01:10:24 +01:00
pk-crypto.scm Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
pki.scm
profiles.scm tests: Remove dependency on 'glibc-utf8-locales' for profile tests. 2015-03-04 17:23:27 +01:00
records.scm records: Add support for delayed fields. 2015-01-19 23:30:42 +01:00
serialization.scm store: Attempt to decode build logs as UTF-8. 2015-03-05 22:17:36 +01:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
store.scm store: Attempt to decode build logs as UTF-8. 2015-03-05 22:17:36 +01:00
svn-download.scm Remove outdated comment from svn-fetch. 2015-02-04 00:14:37 -05:00
tests.scm tests: Skip tests that would fail due to the shebang length. 2015-02-24 00:01:34 +01:00
ui.scm ui: Add missing copyright line. 2015-02-26 00:04:36 +01:00
utils.scm utils: Add 'version>=?'. 2015-02-09 18:18:41 +01:00