summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-07-28 00:14:05 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-07-28 11:30:46 +0200
commit5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f (patch)
treec0ea68f1d1cb18360f356403bc8579a4c609f603 /pkgs/applications/editors
parente7d57853b036239ef32b8b2c634d63719ca5a35e (diff)
downloadnixlib-5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f.tar
nixlib-5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f.tar.gz
nixlib-5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f.tar.bz2
nixlib-5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f.tar.lz
nixlib-5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f.tar.xz
nixlib-5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f.tar.zst
nixlib-5b211b6f4c834fd816eaff8ae7cd43d84b1eb42f.zip
vim-configurable: fix python support
Removed --enable-python since that doesn't seem to do anything.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/vim/configurable.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix
index da15081173da..7a700e0956b8 100644
--- a/pkgs/applications/editors/vim/configurable.nix
+++ b/pkgs/applications/editors/vim/configurable.nix
@@ -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"