vim_configurable and neovim have both supported a mechanism to build
them with a custom vimrc that supports plugins from Nix. This updates
MacVim to support the same sort of configuration using an expression
like
macvim.configure {
customRC = ''
# custom configuration goes here
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [ youcompleteme fugitive ];
opt = [ phpCompletion elm-vim ];
}
}
Once configured, .override will allow for editing the configuration.
Like vim_configurable and neovim, configuring macvim does not require
rebuilding it. Also like them, configuring macvim turns off the user
vimrc file.
Since we're not using the Nix compiler, our buildInputs aren't
automatically exposed to the compiler, which means it was actually
compiling against system libncurses instead of Nix libncurses.
Also remove the `-Wno-error` from the make flags (and the unnecessary
`PREFIX` definition) in favor of using a much more targeted error
suppression at the configure flags. This works around an issue where
implicit function definitions are considered an error and the configure
script was trying to compile a file tht invoked an ncurses function
without including the relevant header.
The /run/wrapper directory is a tmpfs. Unfortunately, it's mounted with
its root directory has the standard (for tmpfs) mode: 1777 (world writeable,
sticky -- the standard mode of shared temporary directories). This means that
every user can create new files and subdirectories there, but can't
move/delete/rename files that belong to other users.
* programs.neovim: init
Allows to build a proper runtime folder with after/ ftplugin/ parser/ subfolders etc.
(neo)vim expects a few different folders, for instance to load
treesitter parsers.
This PR reuses the builder from the etc module, notwithstanding the
different modes/uid/gid.
This allows to get rid of some autocmd in customRC (via proper use of
the folder hierarchy) which is a win in my opinion.
pyvips: init at 2.1.12
pyvips: init at 2.1.12
Update pkgs/development/python-modules/pyvips/default.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>
Update pkgs/development/python-modules/pyvips/default.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>
Update pkgs/development/python-modules/pyvips/default.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>
Update pkgs/development/python-modules/pyvips/default.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>
Update pkgs/development/python-modules/pyvips/default.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>
Update pkgs/top-level/python-packages.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>
Update pkgs/development/python-modules/pyvips/default.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>
pyvips: init at 2.1.12
Update pkgs/development/python-modules/pyvips/default.nix
Co-authored-by: Jon <jonringer@users.noreply.github.com>