diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix
index 187474de5b6..a27b5a41ac7 100644
--- a/pkgs/applications/editors/neovim/wrapper.nix
+++ b/pkgs/applications/editors/neovim/wrapper.nix
@@ -25,7 +25,7 @@ let
     name = "neovim-ruby-env";
     gemdir = ./ruby_provider;
     postBuild = ''
-      ln -s ${ruby}/bin/* $out/bin
+      ln -sf ${ruby}/bin/* $out/bin
     '';
   };