We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434fb81 commit 09b36dcCopy full SHA for 09b36dc
extra/ghcr-upload.sh
@@ -5,7 +5,8 @@ set -euox pipefail
5
: "${DEV_SHELL:?'DEV_SHELL is not set'}"
6
: "${SHELL_NIX_PATH:?'SHELL_NIX_PATH is not set'}"
7
8
-nix-store -r "$SHELL_NIX_PATH"
+# retry three times in case of intermittent network errors.
9
+nix-store -r "$SHELL_NIX_PATH" || nix-store -r "$SHELL_NIX_PATH" || nix-store -r "$SHELL_NIX_PATH"
10
#nix build ".#hydraJobs.${DEV_SHELL}" --show-trace --accept-flake-config
11
nix-store --export $(nix-store -qR "$SHELL_NIX_PATH") | tee store-paths.txt | zstd -z8T8 >${DEV_SHELL}
12
if [[ ! $(tail -n 1 store-paths.txt) =~ "devx" ]]; then exit 1; fi
0 commit comments