union: Delete duplicates when passed the same input several times.
authorLudovic Courtès <ludo@gnu.org>
Wed, 6 Feb 2013 21:51:24 +0000 (22:51 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 6 Feb 2013 22:04:10 +0000 (23:04 +0100)
commit6211223021cdb477e93d7ba789d5a0119ffb4bd4
tree7322568ef89680dafdd2a36feca89bd415f3748b
parent44ce77ff52b0456e71ccaabbf3900e71d7a5841f
union: Delete duplicates when passed the same input several times.

* guix/build/union.scm (union-build): Prepend "." to the result of
  `union-tree', to match the expectations of `delete-duplicate-leaves'.
  Don't do mkdir when SUBDIR is ".".
* tests/union.scm ("union-build"): Keep duplicates in %BOOTSTRAP-INPUTS.
guix/build/union.scm
tests/union.scm