Compare commits
3 commits
c6999339da
...
dc781b5bc8
Author | SHA1 | Date | |
---|---|---|---|
dc781b5bc8 | |||
96011436f7 | |||
4d7f5a6e89 |
1 changed files with 3 additions and 10 deletions
9
.github/workflows/build-packages.yml
vendored
9
.github/workflows/build-packages.yml
vendored
|
@ -62,16 +62,9 @@ jobs:
|
||||||
# https://stackoverflow.com/a/58859404
|
# https://stackoverflow.com/a/58859404
|
||||||
if: '!cancelled()'
|
if: '!cancelled()'
|
||||||
run: |
|
run: |
|
||||||
derivations=()
|
|
||||||
while IFS=$'\n' read derivation; do
|
|
||||||
derivations+=("$derivation")
|
|
||||||
done < <(nix path-info --derivation "${{ matrix.package }}")
|
|
||||||
|
|
||||||
for derivation in "${derivations[@]}"; do
|
|
||||||
nix copy -j8 \
|
nix copy -j8 \
|
||||||
--to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem' \
|
--to 's3://nixcache?endpoint=s3.cy7.sh&secret-key=/home/runner/cache-priv-key.pem' \
|
||||||
$(nix-store --query --requisites --include-outputs "$derivation")
|
$(nix path-info --recursive --derivation "${{ matrix.package }}" |sed 's/\.drv$/.drv^*/')
|
||||||
done
|
|
||||||
|
|
||||||
- name: prepare tarball to upload
|
- name: prepare tarball to upload
|
||||||
run: nix run github:nixos/nixpkgs#gnutar hcvf result.tar result
|
run: nix run github:nixos/nixpkgs#gnutar hcvf result.tar result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue