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