rename incz package to logshippers

This commit is contained in:
Daniel Barlow
2025-10-05 15:03:08 +01:00
parent 39fe428e24
commit 9f64eabeb4
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,42 @@
{
fetchurl,
writeFennel,
fennel,
fennelrepl,
runCommand,
lua,
anoia,
lualinux,
stdenv,
}:
let
name = "logshippers";
in
stdenv.mkDerivation {
inherit name;
src = ./.;
buildInputs = [ lua ];
nativeBuildInputs = [ fennelrepl ];
buildPhase = ''
fennelrepl --test ./incz.fnl
cp -p ${
writeFennel name {
packages = [
anoia
lualinux
fennel
];
macros = [
anoia.dev
];
mainFunction = "run";
} ./incz.fnl
} ${name}
'';
installPhase = ''
install -D ${name} $out/bin/${name}
'';
}