[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: derivations: Don't memoize 'derivation-hash'.
From: |
Ludovic Courtès |
Subject: |
02/05: derivations: Don't memoize 'derivation-hash'. |
Date: |
Wed, 13 Dec 2017 17:12:10 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 90354e34e386b21451e0b6dab87ff5d9e81a94ae
Author: Ludovic Courtès <address@hidden>
Date: Wed Dec 13 14:35:44 2017 +0100
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'.
---
guix/derivations.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/derivations.scm b/guix/derivations.scm
index bb18ce6..38cefb6 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