ci(nix): add archive packages and overhaul CI workflows

This commit is contained in:
2026-05-04 09:50:50 +02:00
parent 6a702ec205
commit 8142aee605
8 changed files with 202 additions and 195 deletions
+16
View File
@@ -0,0 +1,16 @@
{
bin,
pkgs,
archiveName
}:
pkgs.stdenv.mkDerivation rec {
name = "jj-cz-${archiveName}";
src = pkgs.lib.cleanSource ../.;
nativeBuildInputs = [pkgs.zip];
buildPhase = ''
mkdir -p $out/dist
zip -j $out/dist/${name}.zip ${bin}/bin/jj-cz* ${src}/README.md ${src}/LICENSE.*
'';
installPhase = "";
dontConfigure = true;
}