Skip to content

Commit

Permalink
Vite module now avoids breaking in Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickShaw committed Feb 20, 2024
1 parent db13dbf commit ee268db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"yarn-error.log": true,
"**/.yarn": true,
"**/.pnp.*": true,
".direnv/**": true
},
"typescript.enablePromptUseWorkspaceTsdk": true,
"stylelint.stylelintPath": ".yarn/sdks/stylelint/lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/nix/flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
outputs = {...}: {
nixosModules.default = {
nixosModules.default = { pkgs, ... }: if pkgs.isDarwin then {} else {
# See: https://vitejs.dev/guide/troubleshooting.html#requests-are-stalled-foreverw
boot.kernel.sysctl= {
"fs.inotify.max_user_watches" = 1048576;
Expand Down

0 comments on commit ee268db

Please sign in to comment.