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'.
This commit is contained in:
Ludovic Courtès 2017-12-13 14:35:44 +01:00
parent eb1150c22c
commit 90354e34e3
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -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