summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-06-29 00:27:32 +0200
committerLudovic Courtès <ludo@gnu.org>2012-06-29 00:27:32 +0200
commitd26ad5e45bc68ac0c373a576147310a7dacc9017 (patch)
tree29c08095bd9bb70e594c2f69f921803ff77b3019
parent5791d3b696cf4992a78105e3b758a9fa61468d73 (diff)
downloadguix-d26ad5e45bc68ac0c373a576147310a7dacc9017.tar.gz
derivation: Remove duplicate inputs.
* guix/derivations.scm (derivation): Remove duplicates from INPUT.
-rw-r--r--guix/derivations.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm
index b4f27bf74d..6011a3d97e 100644
--- a/guix/derivations.scm
+++ b/guix/derivations.scm
@@ -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?