Skip to content

Commit

Permalink
Update ghcr-upload.sh (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman authored Feb 3, 2025
1 parent fdac2a3 commit 5c822e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/ghcr-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -euox pipefail
: "${GITHUB_SHA:?'GITHUB_SHA is not set'}"
: "${DEV_SHELL:?'DEV_SHELL is not set'}"

SHELL_NIX_PATH=$(nix path-info "github:${GITHUB_REPOSITORY}/${GITHUB_SHA}#hydraJobs.${DEV_SHELL}" --accept-flake-config --no-update-lock-file --json | jq -r 'keys[0]')
SHELL_NIX_PATH=$(nix path-info "github:${GITHUB_REPOSITORY}/${GITHUB_SHA}#hydraJobs.${DEV_SHELL}" --accept-flake-config --json | jq -r 'keys[0]')
nix-store -r "$SHELL_NIX_PATH"
#nix build ".#hydraJobs.${DEV_SHELL}" --show-trace --accept-flake-config
nix-store --export $(nix-store -qR "$SHELL_NIX_PATH") | tee store-paths.txt | zstd -z8T8 >${DEV_SHELL}
Expand Down

0 comments on commit 5c822e9

Please sign in to comment.