feat(package): +deploy

This commit is contained in:
2025-10-23 10:01:27 +00:00
parent fafc1c4664
commit dd0d823e36
3 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ symlinkJoin, writeTextFile, socat, dash, hectic, curl, gawk, jq }:
let
shell = "${dash}/bin/dash";
bashOptions = [
"errexit"
"nounset"
];
deploy = hectic.writeShellApplication {
inherit shell bashOptions;
name = "deploy";
runtimeInputs = [];
text = builtins.readFile ./deploy.sh;
};
in
symlinkJoin {
name = "deploy";
paths = [ deploy ];
}