Files
nixpkgs/pkgs/misc
Maximilian Bosch 8e70725077 vim_configurable: enable overrides
Sometimes it's needed to override parts of `vim_configurable`, for
instance when using ENSIME (http://ensime.github.io/), in this case you
need a Python interpreter and the modules `sexpdata` and
`websocket_client`.

However overriding `vim_configurable` is quite hard as we run
`vimUtils.makeCustomizable` over the default comming from
`configurable.nix`. Therefore it's necessary to copy the code from
`all-packages.nix` and alter the parts you need: https://nixos.org/nix-dev/2017-April/023364.html

In order to simplify overriding `vim_configurable` I added an
`override` and an `overrideAttrs` function to `vimutils.makeCustomizable`
to ensure that the customization capabilities won't be lost after
altering the derivation.

Now it's possible to write expressions like this without evaluation
failures:

```
with pkgs;

let
  vimPy3 = vim_configurable.override {
    python = python3;
  };
in vimPy3.customize { ... }
```
2018-02-07 16:57:40 +01:00
..
2017-09-23 21:43:17 +02:00
2017-09-30 01:01:03 +02:00
2018-02-03 00:07:11 +01:00
2018-01-26 12:59:00 +01:00
2016-08-14 12:38:01 +02:00
2017-06-19 15:08:57 +02:00
2016-08-02 21:42:43 +03:00
2018-01-05 23:51:30 +01:00
2018-01-17 02:11:19 +01:00
2017-02-23 18:27:12 -05:00
2016-05-19 16:19:18 -04:00
2018-01-28 23:49:04 -08:00
2018-02-04 09:08:17 -02:00
2017-10-06 23:38:21 -07:00