vim-configurable: fix python support

Removed --enable-python since that doesn't seem to do anything.
This commit is contained in:
Daiderd Jordan 2018-07-28 00:14:05 +02:00
parent e7d57853b0
commit 5b211b6f4c
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -112,12 +112,9 @@ in stdenv.mkDerivation rec {
"--enable-luainterp"
]
++ stdenv.lib.optionals pythonSupport [
"--enable-python${if isPython3 then "3" else ""}"
]
++ stdenv.lib.optionals (pythonSupport && stdenv.isDarwin) [ # Why only for Darwin?
"--enable-python${if isPython3 then "3" else ""}interp=yes" # Duplicate?
"--enable-python${if isPython3 then "3" else ""}interp=yes"
"--with-python${if isPython3 then "3" else ""}-config-dir=${python}/lib"
"--disable-python${if isPython3 then "" else "3"}interp"
"--disable-python${if (!isPython3) then "3" else ""}interp"
]
++ stdenv.lib.optional nlsSupport "--enable-nls"
++ stdenv.lib.optional perlSupport "--enable-perlinterp"