@@ -103,6 +103,14 @@ ERR: Build directories for this commit already exist for the following platform
103103
104104 Aborting...
105105
106+ Hint: To blow everything away, you may want to use:
107+
108+ $ ./contrib/guix/guix-clean
109+
110+ Specifically, this will remove all files without an entry in the index,
111+ excluding the SDK directory, the depends download cache, the depends built
112+ packages cache, the garbage collector roots for Guix environments, and the
113+ output directory.
106114EOF
107115for host in $hosts_distsrc_exists ; do
108116 echo " ${host} '$( distsrc_for_host " $host " ) '"
@@ -277,15 +285,16 @@ outdir_for_host() {
277285int_trap () {
278286cat << EOF
279287** INT received while building ${1} , you may want to clean up the relevant
280- output, deploy, and distsrc-* directories before rebuilding
288+ work directories (e.g. distsrc-*) before rebuilding
281289
282290Hint: To blow everything away, you may want to use:
283291
284- $ git clean -xdff --exclude='/depends/SDKs/*'
292+ $ ./contrib/guix/guix-clean
285293
286294Specifically, this will remove all files without an entry in the index,
287- excluding the SDK directory. Practically speaking, this means that all ignored
288- and untracked files and directories will be wiped, allowing you to start anew.
295+ excluding the SDK directory, the depends download cache, the depends built
296+ packages cache, the garbage collector roots for Guix environments, and the
297+ output directory.
289298EOF
290299}
291300
0 commit comments