You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:!mkdir templates
error: can not save universal variables or functions
warning-path: Unable to locate config directory derived from $XDG_CONFIG_HOME: '/nix/store/xabd1qazk33n780qanahmxyqmgb1n83r-neovim-config/fish'.
warning-path: The error was 'Read-only file system'.
warning-path: Please set $XDG_CONFIG_HOME to a directory where you have write access.
When I ask Neovim to run a command in the shell with the :! Neovim command, fish complains it has no write access to it's XDG_CONFIG_HOME. That's correct, because I'm hoisting it to a nix store derivation when Neovim starts up:
When I ask Neovim to run a command in the shell with the
:!
Neovim command, fish complains it has no write access to it'sXDG_CONFIG_HOME
. That's correct, because I'm hoisting it to a nix store derivation when Neovim starts up:https://github.com/marcuswhybrow/.nixos/blob/4d44fa8001dc2dbcfd86a7dc8a70e12f89be1fa1/pkgs/neovim/default.nix#L104-L105
Proposed solution: Add to
XDG_CONFIG_DIRS
, instead of overridingXDG_CONFIG_HOME
.The text was updated successfully, but these errors were encountered: