Revert "derivations: 'derivation-hash' assumes inputs are coalesced."
This reverts commit 1d008d9f8c
.
Reported by Rutger Helling <rhelling@mykolab.com>.
Fixes <https://bugs.gnu.org/29689>.
This commit is contained in:
parent
c2c5b115ab
commit
22358bdb7c
|
@ -658,11 +658,8 @@ derivation at FILE."
|
||||||
(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)
|
||||||
;; Note: INPUTS is already the result
|
derivation-input<?)
|
||||||
;; 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 New Issue