Files
util.nix/package/deploy/default.nix
2025-10-23 10:22:48 +00:00

21 lines
381 B
Nix

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