Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vim_configurable: change python version detection
Instead of explicitly stating "I want version 3" or "I want version 2" you now simply specify what the `python` argument will be, and vim_configurable will set up the flags for you. `config.vim.python` must be set, still. There's currently a patch included in the vim_configurable derivation for python2, this is disabled if we're using python3. I also moved a lot of the gui packages (libX11, ...) into an `if...else` statement to help clean up build with the gui disabled. Setting `config.vim.guiSupport` to `false` should be enough to disable the X11 libraries from being included. In all-packages.nix I added the `python = pkgs.python` argument, and removed python from the list of unnamed inputs.
- Loading branch information
Showing
2 changed files
with
14 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters