Skip to content

Commit

Permalink
fix: devshell
Browse files Browse the repository at this point in the history
  • Loading branch information
uonr committed Dec 29, 2023
1 parent e3facb1 commit c7df16a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
"*.tailwind.css": "tailwindcss",
".env.local.example": "properties"
},
// Nix
"nix.serverSettings": {
"nil": {
"diagnostics": {
"ignored": [
"unused_binding",
"unused_with"
]
},
"formatting": {
"command": ["treefmt", "--stdin", "foo.nix"]
}
}
},
// ESLint
"eslint.workingDirectories": [
{
Expand Down
8 changes: 8 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@
config.treefmt.build.wrapper
rust-analyzer
rustToolchain
nil
nodejs
nodePackages.pnpm
openssl
];
packagesFrom = [ self'.packages.server ];
env = [
({ name = "PKG_CONFIG_PATH"; eval = "$DEVSHELL_DIR/lib/pkgconfig"; })
];
};

Expand Down

0 comments on commit c7df16a

Please sign in to comment.