feat(package): hemar: conected to nix config

This commit is contained in:
2025-11-24 14:20:03 +00:00
parent 783cbe20e8
commit f5d412997e
16 changed files with 270 additions and 59 deletions

View File

@@ -115,7 +115,7 @@ log_allowed() {
# log(level, text...)
log() {
delimetr=${DELIMETR:-' '};
level="${1:?}"; shift
level="${1:?}"
log_allowed "$level" || return 0
case "$level" in
@@ -125,9 +125,14 @@ log() {
notice) color="$CYAN" ;;
warn) color="$YELLOW" ;;
error) color="$RED" ;;
*) color="$WHITE" ;;
*)
color="$WHITE"
NO_SHIFT=1
;;
esac
[ ${NO_SHIFT+x} ] || shift
# shellcheck disable=SC1003