Make a tarball with NixOS #1

Open
rarias wants to merge 6 commits from tarball-nixos into master
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 53ab72fa20 - Show all commits

View File

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

View File

@ -625,10 +625,10 @@
installPhase = ''
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 {