Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Can't open file for writing #38

Open
justinlovinger opened this issue Apr 29, 2021 · 1 comment
Open

Error: Can't open file for writing #38

justinlovinger opened this issue Apr 29, 2021 · 1 comment

Comments

@justinlovinger
Copy link

vim-wordy is installed with Home Manager on NixOS. When I try to run :Wordy weak, I get error:

Error detected while processing function wordy#init:
line   31:
E482: Can't open file /nix/store/bk3lvr06rv7nvwpiza59gf6vfia39fp9-vimplugin-vim-wordy-2019-11-22/share/vim-plugins/vim-wordy/data/en/weak.dic.rare for writing: read-only file system

I understand why this error is happening. The Nix store is indeed a read-only file system. However, does vim-wordy need to open its dictionaries for writing? Is it possible to avoid this error by opening these dictionaries read-only?

@alerque
Copy link
Member

alerque commented Sep 21, 2021

Possibly. Did you try making the change to open it RO as see what if anything broke?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants