bitcoin/contrib/guix/libexec
Carl Dong f9e2960c01 guix: Construct $OUTDIR in ${DISTSRC}/output
While files are being output to $OUTDIR, it will be under
${DISTSRC}/output, and only when everything is done, will
${DISTSRC}/output be moved to the actual $OUTDIR.

This makes it so that a Ctrl-C in the middle of a build is less likely
to result in a partially-constructed $OUTDIR. In fact, if I understand
correctly, if $OUTDIR and $DISTSRC reside on the same filesystem, the
move (rename) is likely atomic.

Also, since the "working $OUTDIR" is under ${DISTSRC}/output, it will be
cleaned properly by the guix-clean script.
2021-05-03 13:18:19 -04:00
..
build.sh guix: Construct $OUTDIR in ${DISTSRC}/output 2021-05-03 13:18:19 -04:00
prelude.bash Merge #21304: guix: Add guix-clean script + establish gc-root for container profiles 2021-04-08 23:19:54 +02:00