3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

build-system/python: 'package-with-explicit-python' uses 'eq?' memoization.

* guix/build-system/python.scm (package-with-explicit-python): Use
'mlambdaq' instead of 'mlambda'.  This does not change the <package>
graph and has no visible impact on performance.
This commit is contained in:
Ludovic Courtès 2017-01-28 18:51:19 +01:00
parent 3d520b5428
commit 86a6ff4bb0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -87,7 +87,7 @@ pre-defined variants."
;; Memoize the transformations. Failing to do that, we would build a huge
;; object graph with lots of duplicates, which in turns prevents us from
;; benefiting from memoization in 'package-derivation'.
(mlambda (p) ;XXX: use 'eq?'
(mlambdaq (p)
(let* ((rewrite-if-package
(lambda (content)
;; CONTENT may be a file name, in which case it is returned,