task | switch from alejandra to nixfmt
This commit is contained in:
parent
7726fa8350
commit
e3fea64660
3 changed files with 4 additions and 4 deletions
|
|
@ -179,7 +179,6 @@ in {
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
python-with-my-packages
|
||||
alejandra
|
||||
aspell
|
||||
aspellDicts.en
|
||||
base16-schemes
|
||||
|
|
@ -198,6 +197,7 @@ in {
|
|||
lsb-release
|
||||
lsof
|
||||
nix-bash-completions
|
||||
nixfmt
|
||||
pkg-config
|
||||
poppler_utils
|
||||
ruby
|
||||
|
|
|
|||
|
|
@ -263,7 +263,6 @@ in {
|
|||
environment.systemPackages = with pkgs; [
|
||||
python-with-my-packages
|
||||
acpi
|
||||
alejandra
|
||||
aspell
|
||||
aspellDicts.en
|
||||
base16-schemes
|
||||
|
|
@ -290,6 +289,7 @@ in {
|
|||
lsof
|
||||
nix-bash-completions
|
||||
nixd
|
||||
nixfmt
|
||||
pkg-config
|
||||
playerctl
|
||||
poppler_utils
|
||||
|
|
|
|||
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