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
..
2015-03-04 14:07:23 +01:00
2013-01-06 00:47:50 +01:00
2015-02-16 16:35:41 +01:00
2014-11-28 00:10:28 +01:00
2015-01-26 21:58:12 +01:00
2015-02-24 16:09:30 +01:00
2015-01-26 21:58:12 +01:00
2015-01-11 23:50:01 +01:00
2015-02-26 00:04:36 +01:00
2015-02-09 18:18:41 +01:00