derivations: 'derivation-hash' assumes inputs are coalesced.

* guix/derivations.scm (derivation-hash): Remove
redundant 'coalesce-duplicate-inputs' call.
This commit is contained in:
Ludovic Courtès 2017-12-12 18:09:53 +01:00
parent 3d19b7fbc2
commit 1d008d9f8c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -658,8 +658,11 @@ derivation at FILE."
(make-derivation-input hash sub-drvs))))
inputs))
(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
system builder args env-vars
#f)))