mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -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))))
|
||||
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)))
|
||||
|
|
Loading…
Reference in a new issue