From ceb215e62558d6fdb6f70bef982e49b57e1d427d Mon Sep 17 00:00:00 2001 From: Arnar Gauti Ingason Date: Wed, 2 Dec 2020 22:23:41 +0100 Subject: [PATCH] tmuxPlugins.jump: fix ruby dependency --- pkgs/misc/tmux-plugins/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index 59f649f939c..752966767a1 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -208,6 +208,10 @@ in rec { rev = "416f613d3eaadbe1f6f9eda77c49430527ebaffb"; sha256 = "1xbzdyhsgaq2in0f8f491gwjmx6cxpkf2c35d2dk0kg4jfs505sz"; }; + postInstall = '' + sed -i -e 's|ruby|${pkgs.ruby}/bin/ruby|g' $target/scripts/tmux-jump.sh + ''; + dependencies = [ pkgs.ruby ]; meta = with stdenv.lib; { homepage = "https://github.com/schasse/tmux-jump";