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
1 changed files with 1 additions and 1 deletions

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,