File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
pkgs/applications/networking/remote/xrdp Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1212, systemd
1313, pam
1414, fuse
15+ , libdrm
1516, libjpeg
1617, libopus
1718, nasm
3839
3940 nativeBuildInputs = [ pkg-config autoconf automake which libtool nasm ] ;
4041
41- buildInputs = [ xorg . xorgserver ] ;
42+ buildInputs = [ xorg . xorgserver libdrm ] ;
4243
4344 postPatch = ''
4445 # patch from Debian, allows to run xrdp daemon under unprivileged user
5051 --replace 'sysconfdir="/etc"' "sysconfdir=$out/etc"
5152 '' ;
5253
53- preConfigure = "./bootstrap" ;
54-
55- configureFlags = [ "XRDP_CFLAGS=-I${ xrdp . src } /common" ] ;
54+ preConfigure = ''
55+ ./bootstrap
56+ export XRDP_CFLAGS="-I${ xrdp . src } /common -I${ libdrm . dev } /include -I${ libdrm . dev } /include/libdrm"
57+ '' ;
5658
5759 enableParallelBuilding = true ;
5860
You can’t perform that action at this time.
0 commit comments