mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
derivations: 'derivation-hash' assumes inputs are coalesced.
* guix/derivations.scm (derivation-hash): Remove redundant 'coalesce-duplicate-inputs' call.
This commit is contained in:
parent
3d19b7fbc2
commit
1d008d9f8c
1 changed files with 5 additions and 2 deletions
|
@ -658,8 +658,11 @@ (define derivation-hash ; `hashDerivationModulo' in derivations.cc
|
||||||
(make-derivation-input hash sub-drvs))))
|
(make-derivation-input hash sub-drvs))))
|
||||||
inputs))
|
inputs))
|
||||||
(drv (make-derivation outputs
|
(drv (make-derivation outputs
|
||||||
(sort (coalesce-duplicate-inputs inputs)
|
|
||||||
derivation-input<?)
|
;; Note: INPUTS is already the result
|
||||||
|
;; of 'coalesce-duplicate-inputs'.
|
||||||
|
(sort inputs derivation-input<?)
|
||||||
|
|
||||||
sources
|
sources
|
||||||
system builder args env-vars
|
system builder args env-vars
|
||||||
#f)))
|
#f)))
|
||||||
|
|
Loading…
Reference in a new issue