diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-10-22 15:01:48 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-11-12 23:46:49 +0100 |
commit | c62f8ab11ff915bd834fc1db5dba3449c9b4b474 (patch) | |
tree | a69e197702250dfbf1e87d3d764093f9568bae8d /gnu/packages/entr.scm | |
parent | 9793403bc0f304053c6f1bd427814482273faa26 (diff) | |
download | guix-c62f8ab11ff915bd834fc1db5dba3449c9b4b474.tar.gz guix-c62f8ab11ff915bd834fc1db5dba3449c9b4b474.zip |
derivations: ‘derivation-build-plan’ returns builds in topological order.
That makes ‘derivation-build-plan’ directly usable in cases where one
wants to sequentially build derivations one by one, or to report builds
in the right order in the user interface.
* guix/derivations.scm (derivation-build-plan): Wrap ‘loop’ in
‘traverse’. Perform a depth-first traversal. Return the list of builds
in topological order.
* tests/derivations.scm ("derivation-build-plan, topological ordering"):
New test.
Change-Id: I7cd9083f42c4381b4213794a40dbb5b234df966d
Diffstat (limited to 'gnu/packages/entr.scm')
0 files changed, 0 insertions, 0 deletions