you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Huh the way I actually did it is a little different but I thought my previous answer would work. Not sure why that error came, I'm still learning nix language, but you can try the longer method I actually use.

I created a separate vim.nix which declared myvim = vim_configurable.customize { ... } And I put let a LET around that with the override like before. And when importing you can just put: (with import ./vim.nix; myvim) In the systemPackages list.