mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
add treefmt
This commit is contained in:
parent
91d1041e06
commit
f5d82afca7
11 changed files with 147 additions and 103 deletions
|
|
@ -4,4 +4,19 @@
|
|||
}:
|
||||
pkgs.devshell.mkShell {
|
||||
imports = [(pkgs.devshell.importTOML ./devshell.toml)];
|
||||
|
||||
packages = [
|
||||
pkgs.shfmt
|
||||
pkgs.nodePackages.prettier
|
||||
pkgs.nodePackages.prettier-plugin-toml
|
||||
pkgs.alejandra
|
||||
];
|
||||
commands = [
|
||||
{
|
||||
package = pkgs.treefmt;
|
||||
}
|
||||
];
|
||||
devshell.startup.nodejs-setuphook = pkgs.lib.stringsWithDeps.noDepEntry ''
|
||||
export NODE_PATH=${pkgs.nodePackages.prettier-plugin-toml}/lib/node_modules:$NODE_PATH
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue