derivation: Remove duplicate inputs.

* guix/derivations.scm (derivation): Remove duplicates from INPUT.
This commit is contained in:
Ludovic Courtès 2012-06-29 00:27:32 +02:00
parent 5791d3b696
commit d26ad5e45b

View file

@ -343,7 +343,7 @@ (define (env-vars-with-empty-outputs)
(hash-algo sha256) #t #t (hash-algo sha256) #t #t
input))) input)))
(make-derivation-input path '())))) (make-derivation-input path '()))))
inputs)) (delete-duplicates inputs)))
(env-vars (env-vars-with-empty-outputs)) (env-vars (env-vars-with-empty-outputs))
(drv-masked (make-derivation outputs (drv-masked (make-derivation outputs
(filter (compose derivation-path? (filter (compose derivation-path?