Replies: 1 comment
-
|
So, you can put any path there. Including outside of the store. For example, in the nvim module by default it looks at the path returned by the lua expression You can do this in any of the built in makeWrapper options too (obviously not with lua, but if you change the escaping function you can put bash there, which with the default So, if that path is there at runtime, it will work at runtime, and you will be able to edit it. We also have However, if it was outside of the store, its not going to copy it there for you. In order to copy it there, we only have THAT derivation to work with. The options we can do from here would be:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The idea is for the wrapper to instead of directly using paths pointing to store, copy these paths to a chosen location as writable and use that (of course always check if the aimed file or directory exists in the chosen location before doing that operation). This makes the process of fixing small bits of configuration much quicker, avoiding Nix evaluation/building until everything's done.
I wonder if that's possible without a new implementation of makeWrapper interface.
Beta Was this translation helpful? Give feedback.
All reactions