aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-01-28 18:51:19 +0100
committerLudovic Courtès <ludo@gnu.org>2017-01-28 18:55:20 +0100
commit86a6ff4bb04963bd16e22a7c8133a82dd0af1014 (patch)
treeb33ad221af01064aebb1765bd57515ff84beb967
parent3d520b542855e7e3bdf42235253a14cbc55178dd (diff)
downloadpatches-86a6ff4bb04963bd16e22a7c8133a82dd0af1014.tar
patches-86a6ff4bb04963bd16e22a7c8133a82dd0af1014.tar.gz
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.
-rw-r--r--guix/build-system/python.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index 383e8cb64a..17173f121e 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -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,