diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-02 16:26:13 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-03-02 16:26:13 +0100 |
commit | 7e75a6739bf02c39baf8340e31e590c2c7c5fd16 (patch) | |
tree | 477b7fbbcd9882179218c25226fc58161963b207 /guix/gexp.scm | |
parent | 3820d3973982048e5b93ad08d619c893bc50de14 (diff) | |
download | gnu-guix-7e75a6739bf02c39baf8340e31e590c2c7c5fd16.tar gnu-guix-7e75a6739bf02c39baf8340e31e590c2c7c5fd16.tar.gz |
gexp: Make sure 'gexp-outputs' removes duplicate outputs.
Fixes a regression introduced in f9efe56.
* guix/gexp.scm (gexp-outputs): Add call to 'delete-duplicates'.
* tests/gexp.scm ("output list, combined gexps, duplicate output"): New
test.
Diffstat (limited to 'guix/gexp.scm')
-rw-r--r-- | guix/gexp.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm index 1f64cf75ae..1e26342101 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -319,7 +319,8 @@ references." (_ result))) - (add-reference-output (gexp-references exp) '())) + (delete-duplicates + (add-reference-output (gexp-references exp) '()))) (define* (gexp->sexp exp #:key (system (%current-system)) |