Create override.nix with the below contents. (This includes required build dependencies not explicitly declared in package.json.)
Run nix-shell -A shell override.nix
(Within the nix shell) Run gatsby develop
This command will fail with the error Failed to remove .cache files. EACCES: permission denied, unlink /path/to/gatsby-starter-netlify-cms/.cache/ssr-builtin-trackers/tracking-unsafe-module-wrapper.js
gatsby
subcommands fail with a permission error when trying to operate on files under.cache
in the project directory under a development nix shell.node2nix --development -14 -l
override.nix
with the below contents. (This includes required build dependencies not explicitly declared inpackage.json
.)nix-shell -A shell override.nix
gatsby develop
Failed to remove .cache files. EACCES: permission denied, unlink /path/to/gatsby-starter-netlify-cms/.cache/ssr-builtin-trackers/tracking-unsafe-module-wrapper.js
override.nix
```nix { pkgs ? import