refactor(sydnix-cli): rewrite sydnix-cli

holy shit. why. why did i write the first version LOL. so fucking ocmplicated. and half broken.
This commit is contained in:
msyds committed 2025-12-01 14:22:30 -07:00
1 parent 1a685b4bf4
commit ea0c455824
30 files changed
+103 -1154

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{ stdenvNoCC
, babashka
}:
stdenvNoCC.mkDerivation (final: {
pname = "sydnix-cli";
version = "2.0.0";
src = ./.;
buildInputs = [
babashka
];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/var/sydnix
cp -r bb.edn src sydnix $out/var/sydnix
ln -s $out/var/sydnix/sydnix $out/bin/sydnix
runHook postInstall
'';
})