[Nix-dev] How do I change vim compile options from my configuration.nix?
Anders Lundstedt
anders at anderslundstedt.se
Wed Nov 25 18:36:12 CET 2015
On Wed, Nov 25, 2015 at 6:22 PM, <joachifm at fastmail.fm> wrote:
> One way to achieve this is via ~/.nixpkgs/config.nix. Vim happens to
> have a configurable variant. Something like (untested)
> ```nix
> {
> vim.python3 = true;
> }
> ```
I do not have a ~/.nixpkgs/config.nix. I created one with those three
lines but that did not help. I then tried to put the line "vim.python3
= true;" in my configuration.nix, which gave the following error when
doing "nix-rebuild --switch":
error: The option `vim' defined in `/path/to/configuration.nix' does not exist.
> See `<nixpkgs/pkgs/applications/editors/vim/configurable.nix>`
> for details.
Since I do not know the nix language that file is unfortunately mostly
gibberish to me.
More information about the nix-dev
mailing list