Skip to content

Commit

Permalink
x2goclient: 4.0.5.1 -> 4.1.0.0
Browse files Browse the repository at this point in the history
Add openssh as dependency for sftp-server. When connecting, x2goclient
crashes if it can't find that executable.

(cherry picked from commit a8aef18)
  • Loading branch information
lluchs authored and Mic92 committed Sep 5, 2017
1 parent 9e50f29 commit eba2aed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/applications/networking/remote/x2goclient/default.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }:
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, openssh, makeWrapper, qt4 }:

stdenv.mkDerivation rec {
name = "x2goclient-${version}";
version = "4.0.5.1";
version = "4.1.0.0";

src = fetchurl {
url = "http://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
sha256 = "04gdccqywas029a76k3r9zhr2mfn385i9r06cmi8mznxpczrhkl4";
sha256 = "0sibrj4qppww7mirdixrqrknkyq3g97s64186h88j8k66sy1anab";
};

buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
buildInputs = [ cups libssh libXpm nxproxy openldap openssh qt4 ];
nativeBuildInputs = [ makeWrapper ];

patchPhase = ''
Expand All @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

installTargets = [ "install_client" "install_man" ];
postInstall = ''
wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nxproxy}/bin";
wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nxproxy}/bin:${openssh}/libexec";
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit eba2aed

Please sign in to comment.