Files
jj-cz/nix/make-archive.nix
T
phundrak 827b2a64f7
Run checks and build archives / build (linux-aarch64) (push) Has been cancelled
Run checks and build archives / build (linux-x86_64) (push) Has been cancelled
Run checks and build archives / build (windows-x86_64) (push) Has been cancelled
Run checks and build archives / coverage-and-sonar (push) Has been cancelled
ci(nix): add archive packages and overhaul CI workflows
2026-05-28 21:42:16 +02:00

17 lines
346 B
Nix

{
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;
}