task | switch from alejandra to nixfmt
This commit is contained in:
parent
7726fa8350
commit
e3fea64660
3 changed files with 4 additions and 4 deletions
4
justfile
4
justfile
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue