Loading pkgs/by-name/ka/kakoune-lsp/Hardcode-perl.patch +4 −4 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ index b173478..015c3ca 100644 - fi echo >$kak_command_fifo "echo -to-file $kak_response_fifo -quoting kakoune -- %reg{a}" - perl < $kak_response_fifo -we ' + @perl@ < $kak_response_fifo -we ' + @perl@/bin/perl < $kak_response_fifo -we ' use strict; my $Q = "'\''"; my @args = (); Loading @@ -42,7 +42,7 @@ index b173478..015c3ca 100644 set-register x nop evaluate-commands %sh[ # $kak_quoted_selections - perl -e ' + @perl@ -e ' + @perl@/bin/perl -e ' use strict; use warnings; use Text::ParseWords(); Loading pkgs/by-name/ka/kakoune-lsp/package.nix +2 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, rustPlatform, fetchFromGitHub, substituteAll, replaceVars, perl, stdenv, CoreServices, Loading @@ -21,12 +21,7 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-uXKquAjfytUn/Q0kx+0BGRQTkVMQ9rMRnTCy622upag="; }; patches = [ (substituteAll { src = ./Hardcode-perl.patch; perl = lib.getExe perl; }) ]; patches = [ (replaceVars ./Hardcode-perl.patch { inherit perl; }) ]; cargoHash = "sha256-XnhYODMzqInwbgM8wveY048sljZ8OKw4hLYJG5h8Twc="; Loading Loading
pkgs/by-name/ka/kakoune-lsp/Hardcode-perl.patch +4 −4 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ index b173478..015c3ca 100644 - fi echo >$kak_command_fifo "echo -to-file $kak_response_fifo -quoting kakoune -- %reg{a}" - perl < $kak_response_fifo -we ' + @perl@ < $kak_response_fifo -we ' + @perl@/bin/perl < $kak_response_fifo -we ' use strict; my $Q = "'\''"; my @args = (); Loading @@ -42,7 +42,7 @@ index b173478..015c3ca 100644 set-register x nop evaluate-commands %sh[ # $kak_quoted_selections - perl -e ' + @perl@ -e ' + @perl@/bin/perl -e ' use strict; use warnings; use Text::ParseWords(); Loading
pkgs/by-name/ka/kakoune-lsp/package.nix +2 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ lib, rustPlatform, fetchFromGitHub, substituteAll, replaceVars, perl, stdenv, CoreServices, Loading @@ -21,12 +21,7 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-uXKquAjfytUn/Q0kx+0BGRQTkVMQ9rMRnTCy622upag="; }; patches = [ (substituteAll { src = ./Hardcode-perl.patch; perl = lib.getExe perl; }) ]; patches = [ (replaceVars ./Hardcode-perl.patch { inherit perl; }) ]; cargoHash = "sha256-XnhYODMzqInwbgM8wveY048sljZ8OKw4hLYJG5h8Twc="; Loading