task | switch from alejandra to nixfmt

This commit is contained in:
Don Harper 2024-12-13 11:43:38 -06:00
parent 7726fa8350
commit e3fea64660
3 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ HOSTNAME := `hostname -s`
# Do as test build without installing
test hostname=(HOSTNAME):
@alejandra . &> nixos-switch.log || ( cat nixos-switch.log && false)
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false)
@rm -f nixos-switch.log
@colmena --impure build --on {{hostname}}
@ -33,7 +33,7 @@ web:
# Build and run a vm FIXME
vm:
@alejandra . &> nixos-switch.log || ( cat nixos-switch.log && false)
@nixfmt . &> nixos-switch.log || ( cat nixos-switch.log && false)
@rm -f nixos-switch.log
@echo Running iso build
@nix build --impure ./#nixosConfigurations.vm.config.system.build.isoImage &> nixos-switch.log || ( grep -E --color '(error|For full logs)' nixos-switch.log && false)