chore: package.nix → default.nix
All checks were successful
build / build (push) Successful in 5s

This commit is contained in:
2026-03-01 12:06:44 -07:00
parent 74e48264ea
commit c45852097b
6 changed files with 13 additions and 7 deletions

21
publisher/default.nix Normal file
View File

@@ -0,0 +1,21 @@
{ mkCljBin
, doerg
, babashka
}:
mkCljBin {
name = "net.deertopia/publisher";
version = "0.1.0";
projectSrc = ./.;
lockfile = ../deps-lock.json;
main-ns = "net.deertopia.publisher.main";
buildInputs = [];
nativeBuildInputs = [
babashka
];
postPatch = ''
mv deps.edn deps.edn.old
bb -cp . -m override-deps < deps.edn.old > deps.edn \
net.deertopia/doerg '{:local/root "${doerg.lib}/${doerg.name}.jar"}'
'';
}