guix: documented shasum gathering command
This commit is contained in:
1 parent
ad4a49090d
commit
ab649ce459
1 file changed
+12
@@ -103,6 +103,18 @@ worktree to save disk space:
|
|||||||
./contrib/guix/guix-clean
|
./contrib/guix/guix-clean
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Gathering shasums of build outputs
|
||||||
|
|
||||||
|
After a successful build, the shasums of the build outputs are gathered
|
||||||
|
into files named `SHA256SUMS`. These files are located in each of the
|
||||||
|
architecture-specific output directories.
|
||||||
|
|
||||||
|
To gather all shasums and output them together to console, for e.g.
|
||||||
|
inclusion in a Guix pull request comment, run:
|
||||||
|
|
||||||
|
``` sh
|
||||||
|
source contrib/shell/git-utils.bash && uname -m && find guix-build-$(git_head_version)/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
|
||||||
|
```
|
||||||
|
|
||||||
## Attesting to build outputs
|
## Attesting to build outputs
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user