feat(package): +migrator

This commit is contained in:
2025-11-03 18:55:35 +00:00
parent 532f4b0901
commit e3167ce6e5
2 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ dash, hectic }:
let
shell = "${dash}/bin/dash";
bashOptions = [
"errexit"
"nounset"
];
migrator = hectic.writeShellApplication {
inherit shell bashOptions;
name = "migrator";
runtimeInputs = [ ];
text = ''
${builtins.readFile hectic.helpers.posix-shell.log}
${builtins.readFile ./migrator.sh}
'';
};
in
migrator