feat(legacy): +writeDash +helpers
This commit is contained in:
15
legacy/helper/posix-shell/default.nix
Normal file
15
legacy/helper/posix-shell/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ dash, hectic }: let
|
||||
shell = "${dash}/bin/dash";
|
||||
bashOptions = [
|
||||
"errexit"
|
||||
"nounset"
|
||||
];
|
||||
in {
|
||||
log = hectic.writeDash "log.sh" ''
|
||||
${builtins.readFile ./colors.sh}
|
||||
${builtins.readFile ./log.sh}
|
||||
'';
|
||||
colors = hectic.writeDash "colors.sh" ''
|
||||
${builtins.readFile ./colors.sh}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user