mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 03:20:04 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue