build-system/asdf: 'package-with-build-system' accesses inputs lazily.
authorLudovic Courtès <ludo@gnu.org>
Wed, 9 Jan 2019 14:01:40 +0000 (15:01 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 9 Jan 2019 14:01:40 +0000 (15:01 +0100)
commit804b9b18ac9188ffb6c6891cbb9241c6a80ed7c8
treefeaba70fa7da39be50c80e7fd80719c0b470cbfc
parent6e54e488c6bbeca48f633b03333d856651f24077
build-system/asdf: 'package-with-build-system' accesses inputs lazily.

Fixes a bug whereby we would, at the top-level (while evaluation
lisp.scm package definitions), attempt to access package inputs.
Because of circular dependencies, this could lead to unbound variables
as reported by Arun Isaac <arunisaac@systemreboot.net> at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33801#56>.

* guix/build-system/asdf.scm (package-with-build-system)[transform]
(new-propagated-inputs): Turn into a procedure.
Adjust user accordingly.
guix/build-system/asdf.scm