Fix the order of the derivation's sources in `derivation-hash'.
* guix/derivations.scm (derivation-hash): Sort SOURCES alphabetically as well.
This commit is contained in:
parent
224f7ad6a3
commit
bcdd83ec69
|
@ -251,6 +251,7 @@ in SIZE bytes."
|
||||||
(lambda (i1 i2)
|
(lambda (i1 i2)
|
||||||
(string<? (derivation-input-path i1)
|
(string<? (derivation-input-path i1)
|
||||||
(derivation-input-path i2)))))
|
(derivation-input-path i2)))))
|
||||||
|
(sources (sort sources string<?))
|
||||||
(drv (make-derivation outputs inputs sources
|
(drv (make-derivation outputs inputs sources
|
||||||
system builder args env-vars)))
|
system builder args env-vars)))
|
||||||
(sha256
|
(sha256
|
||||||
|
|
Loading…
Reference in New Issue