tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
x2goclient: move to qmake4Hook
Nikolay Amiantov
9 years ago
83406bc1
04e1b8ea
+5
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
remote
x2goclient
default.nix
+5
-3
pkgs/applications/networking/remote/x2goclient/default.nix
···
1
-
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }:
2
3
stdenv.mkDerivation rec {
4
name = "x2goclient-${version}";
···
10
};
11
12
buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
13
-
nativeBuildInputs = [ makeWrapper ];
14
15
patchPhase = ''
16
substituteInPlace Makefile \
···
19
--replace "-o root -g root" ""
20
'';
21
22
-
makeFlags = [ "PREFIX=$(out)" "ETCDIR=$(out)/etc" ];
0
0
23
24
enableParallelBuilding = true;
25
···
1
+
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4, qmake4Hook }:
2
3
stdenv.mkDerivation rec {
4
name = "x2goclient-${version}";
···
10
};
11
12
buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
13
+
nativeBuildInputs = [ makeWrapper qmake4Hook ];
14
15
patchPhase = ''
16
substituteInPlace Makefile \
···
19
--replace "-o root -g root" ""
20
'';
21
22
+
preConfigure = ''
23
+
qmakeFlags="$qmakeFlags ETCDIR=$out/etc"
24
+
'';
25
26
enableParallelBuilding = true;
27