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
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ known in advance, such as a file download."
(hash-algo sha256) #t #t
input)))
(make-derivation-input path '()))))
inputs))
(delete-duplicates inputs)))
(env-vars (env-vars-with-empty-outputs))
(drv-masked (make-derivation outputs
(filter (compose derivation-path?