fix: format before adding to git
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
This commit is contained in:
2
justfile
2
justfile
@@ -35,7 +35,7 @@ rollback:
|
||||
add program:
|
||||
echo '{pkgs, ...}: { home.packages = [pkgs.{{program}}];}' > home/programs/{{program}}.nix
|
||||
ast-grep run -p '{ imports = [$$$ITEMS] }' --selector binding --rewrite 'imports = [$$$ITEMS ./{{program}}.nix ]' home/programs/default.nix -i
|
||||
git add home/programs/{{program}}.nix
|
||||
alejandra fmt home/programs/{{program}}.nix home/programs/default.nix
|
||||
git add home/programs/{{program}}.nix
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user