mirror of
https://github.com/wlcx/nix-templates.git
synced 2026-09-28 17:28:22 +01:00
Add alejandra as formatter to add templates
This commit is contained in:
+8
-8
@@ -10,14 +10,14 @@
|
||||
utils,
|
||||
devshell,
|
||||
}:
|
||||
utils.lib.eachDefaultSystem (system: {
|
||||
devShells.default = let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
||||
overlays = [devshell.overlay];
|
||||
};
|
||||
in
|
||||
pkgs.devshell.mkShell {packages = with pkgs; [];};
|
||||
overlays = [devshell.overlay];
|
||||
};
|
||||
in {
|
||||
devShells.default = pkgs.devshell.mkShell {packages = with pkgs; [];};
|
||||
formatter = pkgs.alejandra;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user