summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-13 14:35:44 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-13 23:11:53 +0100
commit90354e34e386b21451e0b6dab87ff5d9e81a94ae (patch)
tree56ee6ad71043964956874f4b417feddcb3cad3d7 /guix
parenteb1150c22c2175fbcf834b9f5164ef0d693df3cf (diff)
downloadgnu-guix-90354e34e386b21451e0b6dab87ff5d9e81a94ae.tar
gnu-guix-90354e34e386b21451e0b6dab87ff5d9e81a94ae.tar.gz
derivations: Don't memoize 'derivation-hash'.
This has little or no run-time impact and slightly reduces the memory footprint. * guix/derivations.scm (derivation-hash): Replace 'mlambda' with 'lambda'.
Diffstat (limited to 'guix')
-rw-r--r--guix/derivations.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm
index bb18ce6bb1..38cefb6100 100644
--- a/guix/derivations.scm
+++ b/guix/derivations.scm
@@ -651,7 +651,7 @@ name of each input with that input's hash."
#f)))))
(define derivation-hash ; `hashDerivationModulo' in derivations.cc
- (mlambda (drv)
+ (lambda (drv)
"Return the hash of DRV, modulo its fixed-output inputs, as a bytevector."
(match drv
(($ <derivation> ((_ . ($ <derivation-output> path