Browse Source

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'.
gn-latest-20200428
Ludovic Courtès 4 years ago
parent
commit
90354e34e3
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 2
      guix/derivations.scm

2
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

Loading…
Cancel
Save