unpacking 'https://example.com/nixexprs.tar.xz'...
tar: Error opening archive: Failed to open '/nix/store/411sszfqfya5ad2wllmqcr15z5d30575-nixexprs.tar.xz'
error: program 'tar' failed with exit code 1
Discussion:
#! /usr/bin/env bash | |
# usage: retry ATTEMPTS COMMAND [...] | |
# | |
# This script provides a retry function capable of capturing and replaying data | |
# from stdin to the command being retried, so that each attempt receives the | |
# input. The data from stdin is streamed to the command immediately, it is not | |
# pre-buffered, and thus will not lock up if the input from stdin never ends. | |
# | |
# If ATTEMPTS is 0, COMMAND is retried forever until it succeeds. |
#!/usr/bin/env bash | |
# This is an alternative for the GNU coreutils timeout, which resets the timer | |
# when the program writes to stdout. This allows setting much smaller timeout | |
# values for programs that regularly print progress messages, which allows | |
# progress stalls to be detected more quickly, saving execution time in testing | |
# contexts. | |
set -e |
unpacking 'https://example.com/nixexprs.tar.xz'...
tar: Error opening archive: Failed to open '/nix/store/411sszfqfya5ad2wllmqcr15z5d30575-nixexprs.tar.xz'
error: program 'tar' failed with exit code 1
Discussion: