divnix / bud

EXPERIMENTAL -- A highly composable system ctl tool
MIT License
15 stars 12 forks source link

Fix nixos-rebuild.sh #14

Closed GTrunSec closed 3 years ago

GTrunSec commented 3 years ago

Also, we should have a default format for shell script, such as shfmt, beautysh.

Fixes: /src/bud/scripts/hm-home.bash:24:82: "expr" must be followed by ;

blaggacao commented 3 years ago

Also, we should have a default format for shell script, such as shfmt, beautysh.

Yes, tha would be a good thing. Do you have an idea how to.implement it on top of the script writers? Script writers seem to live a shadow existence in nixpkgs and probably nobody has thought about adding checks, yet?

Or do you mean rather something like a git pre-commit hook? That would be neat, too.