flake: add formatter
This commit is contained in:
parent
49c8a13409
commit
9656a169f5
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
cargo
|
cargo
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
|
### nix {run,shell,build}
|
||||||
packages.default =
|
packages.default =
|
||||||
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped
|
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped
|
||||||
(pkgs.neovimUtils.makeNeovimConfig {
|
(pkgs.neovimUtils.makeNeovimConfig {
|
||||||
|
@ -26,6 +27,10 @@
|
||||||
}
|
}
|
||||||
// {wrapperArgs = ["--prefix" "PATH" ":" "${lib.makeBinPath runtimeDeps}"];});
|
// {wrapperArgs = ["--prefix" "PATH" ":" "${lib.makeBinPath runtimeDeps}"];});
|
||||||
|
|
||||||
|
### nix fmt
|
||||||
|
formatter = inputs.nixpkgs.legacyPackages.${system}.alejandra;
|
||||||
|
|
||||||
|
### nix develop
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
stylua
|
stylua
|
||||||
|
|
Loading…
Reference in a new issue