diff options
author | Ludovic Courtès <[email protected]> | 2021-06-22 16:42:06 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2021-06-22 17:55:05 +0200 |
commit | b9a95420abdf4ae7fe9a347031278a44ad6a1cce (patch) | |
tree | 6df8009947a967e7ca756625f4b85b952f874ae0 /gnu | |
parent | c7a5c3e0bba2ac3d197b219d21527863308b75dd (diff) |
profiles: Build union of inputs in the right order.
Fixes <https://bugs.gnu.org/49102>.
Reported by Mathieu Othacehe <[email protected]>
and Tobias Geerinckx-Rice <[email protected]>.
Fixes a regression introduced in
8cef92d0633850d97c1a1d4521812268f56672be, whereby in case of file
collisions, the "wrong" one would take precedence.
* guix/build/profiles.scm (manifest-sexp->inputs+search-paths): Perform
a breadth-first traversal. Reverse INPUTS and SEARCH-PATHS in the base
case.
* tests/profiles.scm ("profile-derivation, ordering & collisions"):
New test.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions