qjoypad: link with libX11 explicitly

This commit is contained in:
Piotr Bogdan
2019-01-04 21:44:21 +00:00
parent 8bc5a019e8
commit cfdcc38720
+1
View File
@@ -7,6 +7,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libXtst qt4 ]; buildInputs = [ libX11 libXtst qt4 ];
NIX_LDFLAGS = [ "-lX11" ];
patchPhase = '' patchPhase = ''
cd src cd src
substituteInPlace config --replace /bin/bash /bin/sh substituteInPlace config --replace /bin/bash /bin/sh