File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2
2
#! nix-shell -i bash -p zstd -p oras -p jq
3
3
set -euox pipefail
4
4
5
- : " ${GITHUB_REPOSITORY_OWNER:? ' GITHUB_REPOSITORY_OWNER is not set' } "
6
5
: " ${GITHUB_REPOSITORY:? ' GITHUB_REPOSITORY is not set' } "
7
6
: " ${GITHUB_SHA:? ' GITHUB_SHA is not set' } "
8
7
: " ${DEV_SHELL:? ' DEV_SHELL is not set' } "
9
8
10
- SHELL_NIX_PATH=$( nix path-info " github:${GITHUB_REPOSITORY_OWNER} / ${ GITHUB_REPOSITORY} /${GITHUB_SHA} #hydraJobs.${DEV_SHELL} " --accept-flake-config --no-update-lock-file --json | jq -r ' keys[0]' )
9
+ 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]' )
11
10
nix-store -r " $SHELL_NIX_PATH "
12
11
# nix build ".#hydraJobs.${DEV_SHELL}" --show-trace --accept-flake-config
13
12
nix-store --export $( nix-store -qR " $SHELL_NIX_PATH " ) | tee store-paths.txt | zstd -z8T8 > ${DEV_SHELL}
You can’t perform that action at this time.
0 commit comments