summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorJason Lau <i@dotkrnl.com>2020-11-17 10:49:36 -0800
committerJason Lau <i@dotkrnl.com>2020-11-17 10:54:42 -0800
commit9fd2cb7597c9174720db9f09f58d92818da0ade0 (patch)
treee1c2d9011abbeb9c1743272f6897aff8917d0920 /pkgs/development/python-modules/rangehttpserver
parent1491bab2b1113e745f107a36c7b81f89aed8cf1c (diff)
vim_configurable: restore python derivation overriding
In the current Vim, the Python support can be implemented by linking to the Python library, e.g., lib/libpython3.8.dylib on darwin. The previous workaround of wrapping Vim to prefix $PATH is not sufficient anymore. Since in the current Vim, the Python interpreter is no longer invoked, but instead, the dynamically linked library is used, in which only the original Python modules are loaded, causing plugins to fail to load their required Python modules. Experiments show that, however, it is controlled by the $NIX_PYTHONPATH environment variable. In this commit, we add the required environment variable to the wrapped Vim workaround as previously proposed. So that the Vim plugins can use Python modules in the specified Python derivation.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions