vim-plugins: document nix-shell -I usage for vim-plugin-names-to-nix usage

I use my own fork for NixOS development/testing, but `nixos-unstable`
for my system configuration.

Whenever I add a new plugin and I regenerate the expressions I need to
change the `NIX_PATH` variable to my own fork. As this is something I
tend to forget I think it's better to document this.
This commit is contained in:
Maximilian Bosch 2017-09-25 14:24:36 +02:00
parent 5fb2184bd3
commit 67a42ae2a1
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -16,7 +16,7 @@ in
# TL;DR
# Add your plugin to ./vim-plugin-names
# Regenerate via `nix-shell -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix"`
# Regenerate via `nix-shell -I nixpkgs=/path/to/your/local/fork -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix"`
# Copy the generated expression(s) into this file.
# If plugin is complicated then make changes to ./vim2nix/additional-nix-code