From b590bf7063cae685a3c3e0c5106b205ca204736b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Fri, 17 Sep 2021 15:16:37 +0200 Subject: [PATCH] parinfer-rust: fix vim plugin --- pkgs/development/tools/parinfer-rust/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/parinfer-rust/default.nix b/pkgs/development/tools/parinfer-rust/default.nix index 59253a4f7da2..61fa49b0adba 100644 --- a/pkgs/development/tools/parinfer-rust/default.nix +++ b/pkgs/development/tools/parinfer-rust/default.nix @@ -21,10 +21,10 @@ rustPlatform.buildRustPackage rec { mkdir -p $out/share/kak/autoload/plugins cp rc/parinfer.kak $out/share/kak/autoload/plugins/ - rtpPath=$out/share/vim-plugins/parinfer-rust - mkdir -p $rtpPath/plugin + rtpPath=$out/plugin + mkdir -p $rtpPath sed "s,let s:libdir = .*,let s:libdir = '${placeholder "out"}/lib'," \ - plugin/parinfer.vim >$rtpPath/plugin/parinfer.vim + plugin/parinfer.vim > $rtpPath/parinfer.vim ''; meta = with lib; {