guix-devel/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
build-system.scm
config.scm.in
cvs-download.scm
derivations.scm
download.scm
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: Make sure 'gexp-outputs' removes duplicate outputs. 2015-03-02 16:26:13 +01:00
git-download.scm
gnu-maintenance.scm
gnupg.scm
hash.scm
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.scm
nar.scm
packages.scm packages: Set the port conversion strategy to 'error'. 2015-02-28 01:10:24 +01:00
pk-crypto.scm
pki.scm
profiles.scm tests: Remove dependency on 'glibc-utf8-locales' for profile tests. 2015-03-04 17:23:27 +01:00
records.scm
serialization.scm store: Attempt to decode build logs as UTF-8. 2015-03-05 22:17:36 +01:00
sets.scm
store.scm store: Attempt to decode build logs as UTF-8. 2015-03-05 22:17:36 +01:00
svn-download.scm
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