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:
parent
eb1150c22c
commit
90354e34e3
|
@ -651,7 +651,7 @@ name of each input with that input's hash."
|
||||||
#f)))))
|
#f)))))
|
||||||
|
|
||||||
(define derivation-hash ; `hashDerivationModulo' in derivations.cc
|
(define derivation-hash ; `hashDerivationModulo' in derivations.cc
|
||||||
(mlambda (drv)
|
(lambda (drv)
|
||||||
"Return the hash of DRV, modulo its fixed-output inputs, as a bytevector."
|
"Return the hash of DRV, modulo its fixed-output inputs, as a bytevector."
|
||||||
(match drv
|
(match drv
|
||||||
(($ <derivation> ((_ . ($ <derivation-output> path
|
(($ <derivation> ((_ . ($ <derivation-output> path
|
||||||
|
|
Loading…
Reference in New Issue