feat(package): +deploy
This commit is contained in:
20
package/deploy/default.nix
Normal file
20
package/deploy/default.nix
Normal 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 ];
|
||||
}
|
||||
Reference in New Issue
Block a user