hostmux: 1.4.0 -> 1.4.1

update version and adjust replacing the tmux variable, due to changes in the script
This commit is contained in:
Udo Sauer
2024-10-30 11:23:34 +01:00
committed by Yaya
parent 806fb7cb5e
commit f8ec48bd37
+4 -5
View File
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "hostmux";
version = "1.4.0";
version = "1.4.1";
src = fetchFromGitHub {
owner = "hukl";
repo = "hostmux";
rev = finalAttrs.version;
hash = "sha256-odN7QFsU3MsWW8VabVjZH+8+AUFOUio8eF9ORv9iPEA=";
hash = "sha256-Rh8eyKoUydixj+X7muWleZW9u8djCQAyexIfRWIOr0o=";
};
nativeBuildInputs = [
@@ -29,9 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace hostmux \
--replace "SSH_CMD=ssh" "SSH_CMD=${openssh}/bin/ssh" \
--replace "tmux -2" "${tmux}/bin/tmux -2" \
--replace "tmux s" "${tmux}/bin/tmux s"
--replace "SSH_CMD=ssh" "SSH_CMD=${lib.getExe openssh}" \
--replace "TMUX_CMD=tmux" "TMUX_CMD=${lib.getExe tmux}"
'';
installPhase = ''