diff options
author | Carl Dong <contact@carldong.me> | 2021-03-02 17:26:56 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-04-07 15:20:25 -0400 |
commit | 8f8b96fb542701b7717683caa3848390b24f77ab (patch) | |
tree | 768f6d351f858ca200b3ece8bccd7022f60bdcbe /contrib/guix/guix-build | |
parent | 44f6d4f56b16e1dc5e8a23318b8e7aad0665f178 (diff) |
guix: Update hint messages to mention guix-clean
Diffstat (limited to 'contrib/guix/guix-build')
-rwxr-xr-x | contrib/guix/guix-build | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/contrib/guix/guix-build b/contrib/guix/guix-build index 619924d29e..a0eef59ac1 100755 --- a/contrib/guix/guix-build +++ b/contrib/guix/guix-build @@ -103,6 +103,14 @@ ERR: Build directories for this commit already exist for the following platform Aborting... +Hint: To blow everything away, you may want to use: + + $ ./contrib/guix/guix-clean + +Specifically, this will remove all files without an entry in the index, +excluding the SDK directory, the depends download cache, the depends built +packages cache, the garbage collector roots for Guix environments, and the +output directory. EOF for host in $hosts_distsrc_exists; do echo " ${host} '$(distsrc_for_host "$host")'" @@ -277,15 +285,16 @@ outdir_for_host() { int_trap() { cat << EOF ** INT received while building ${1}, you may want to clean up the relevant - output, deploy, and distsrc-* directories before rebuilding + work directories (e.g. distsrc-*) before rebuilding Hint: To blow everything away, you may want to use: - $ git clean -xdff --exclude='/depends/SDKs/*' + $ ./contrib/guix/guix-clean Specifically, this will remove all files without an entry in the index, -excluding the SDK directory. Practically speaking, this means that all ignored -and untracked files and directories will be wiped, allowing you to start anew. +excluding the SDK directory, the depends download cache, the depends built +packages cache, the garbage collector roots for Guix environments, and the +output directory. EOF } |