From d6d88aaa2b101998b7f3b4ef0f7806024e879828 Mon Sep 17 00:00:00 2001 From: Joe Hermaszewski Date: Sat, 10 Oct 2015 19:30:04 +0100 Subject: [PATCH] neovim: Create symlink to correct python3 binary The symlink being created pointed to 'python' rather than 'python3' --- pkgs/applications/editors/neovim/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index 1cc39b6465c..f9f1921a176 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -103,7 +103,7 @@ let '' + optionalString withPython '' ln -s ${pythonEnv}/bin/python $out/bin/nvim-python '' + optionalString withPython3 '' - ln -s ${python3Env}/bin/python $out/bin/nvim-python3 + ln -s ${python3Env}/bin/python3 $out/bin/nvim-python3 '' + optionalString (withPython || withPython3) '' wrapProgram $out/bin/nvim --add-flags "${ (optionalString withPython