Switch to ZST for tarball

It is faster then Gzip and available in MEEP FPGA cluster.
This commit is contained in:
Rodrigo Arias 2024-10-21 09:17:10 +02:00
parent 97d477d285
commit 53ab72fa20
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ build:lagarto-ox-tarball:
- out=/ceph/home/gitlab-runner/public_html/nixos-riscv/ - out=/ceph/home/gitlab-runner/public_html/nixos-riscv/
- fn=$(ls | head -1) - fn=$(ls | head -1)
- cp $fn $out/$fn - cp $fn $out/$fn
- rm -f $out/latest.tar.gz - rm -f $out/latest.tar.zst
- ln -s $out/$fn $out/latest.tar.gz - ln -s $out/$fn $out/latest.tar.zst
- cd .. - cd ..
- rm result - rm result

View File

@ -625,10 +625,10 @@
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
tar czvf $out/${COMMIT}.tar.gz nixos-riscv tar -I zstd -cvf $out/${COMMIT}.tar.zst nixos-riscv
''; '';
nativeBuildInputs = with final.buildPackages; [ rsync ]; nativeBuildInputs = with final.buildPackages; [ rsync zstd ];
}; };
opensbi = prev.opensbi.overrideAttrs (old: rec { opensbi = prev.opensbi.overrideAttrs (old: rec {