about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorArnar Gauti Ingason <arnarg@fastmail.com>2020-12-02 22:23:41 +0100
committerArnar Gauti Ingason <arnarg@fastmail.com>2020-12-02 22:23:41 +0100
commitceb215e62558d6fdb6f70bef982e49b57e1d427d (patch)
tree6c7436cb9a15c2ab8690d43d159d8bd517d83ee8 /pkgs/misc
parented23e84c8ae2ec123be80250530e1a1e40466d53 (diff)
downloadnixlib-ceb215e62558d6fdb6f70bef982e49b57e1d427d.tar
nixlib-ceb215e62558d6fdb6f70bef982e49b57e1d427d.tar.gz
nixlib-ceb215e62558d6fdb6f70bef982e49b57e1d427d.tar.bz2
nixlib-ceb215e62558d6fdb6f70bef982e49b57e1d427d.tar.lz
nixlib-ceb215e62558d6fdb6f70bef982e49b57e1d427d.tar.xz
nixlib-ceb215e62558d6fdb6f70bef982e49b57e1d427d.tar.zst
nixlib-ceb215e62558d6fdb6f70bef982e49b57e1d427d.zip
tmuxPlugins.jump: fix ruby dependency
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/tmux-plugins/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix
index 59f649f939ca..752966767a13 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";