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.
commit67a42ae2a12676376c44e0b3134475ca3a2c2443
authorMaximilian Bosch <maximilian@mbosch.me>
dateMon 25 Sep 2017, 14:24 (9 years ago)
parent5fb2184
pkgs/misc/vim-plugins/default.nix+1−1
@@ -16,7 +16,7 @@ in
1616
1717# TL;DR
1818# Add your plugin to ./vim-plugin-names
19−# Regenerate via `nix-shell -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix"`
19+# Regenerate via `nix-shell -I nixpkgs=/path/to/your/local/fork -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix"`
2020# Copy the generated expression(s) into this file.
2121# If plugin is complicated then make changes to ./vim2nix/additional-nix-code
2222