about summary refs log tree commit diff
path: root/pkgs/tools/networking/mosh/default.nix
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-18 20:47:11 +0100
committerGitHub <noreply@github.com>2021-01-18 20:47:11 +0100
commit4396baf04efd2fd1e0621d6c594324815e68c0a0 (patch)
tree6462bc70ae0e2b8c3d580f5dcc15753425c613e9 /pkgs/tools/networking/mosh/default.nix
parent533c150d18e5be562c0454f77259c30d3e2e9da9 (diff)
parent9b18a0f353e7048fb0bf4cc60822a6da696b3821 (diff)
downloadnixlib-4396baf04efd2fd1e0621d6c594324815e68c0a0.tar
nixlib-4396baf04efd2fd1e0621d6c594324815e68c0a0.tar.gz
nixlib-4396baf04efd2fd1e0621d6c594324815e68c0a0.tar.bz2
nixlib-4396baf04efd2fd1e0621d6c594324815e68c0a0.tar.lz
nixlib-4396baf04efd2fd1e0621d6c594324815e68c0a0.tar.xz
nixlib-4396baf04efd2fd1e0621d6c594324815e68c0a0.tar.zst
nixlib-4396baf04efd2fd1e0621d6c594324815e68c0a0.zip
Merge pull request #106876 from antifuchs/fix-mosh-client-path
mosh: Hermeticize mosh-client path reference from mosh.pl
Diffstat (limited to 'pkgs/tools/networking/mosh/default.nix')
-rw-r--r--pkgs/tools/networking/mosh/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix
index 4294e9a77784..b03678858ad0 100644
--- a/pkgs/tools/networking/mosh/default.nix
+++ b/pkgs/tools/networking/mosh/default.nix
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
 
   patches = [
     ./ssh_path.patch
+    ./mosh-client_path.patch
     ./utempter_path.patch
     # Fix w/c++17, ::bind vs std::bind
     (fetchpatch {
@@ -32,6 +33,8 @@ stdenv.mkDerivation rec {
   postPatch = ''
     substituteInPlace scripts/mosh.pl \
         --subst-var-by ssh "${openssh}/bin/ssh"
+    substituteInPlace scripts/mosh.pl \
+        --subst-var-by mosh-client "$out/bin/mosh-client"
   '';
 
   configureFlags = [ "--enable-completion" ] ++ lib.optional withUtempter "--with-utempter";