qgroundcontrol: fix build

This commit is contained in:
Nikolay Amiantov 2016-05-29 19:51:07 +03:00
parent dc38003af9
commit 51f479465c

View File

@ -28,7 +28,15 @@ stdenv.mkDerivation rec {
patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ]; patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ];
preConfigure = ''
mkdir build
cd build
'';
qmakeFlags = [ "../qgroundcontrol.pro" ];
installPhase = '' installPhase = ''
cd ..
mkdir -p $out/share/applications mkdir -p $out/share/applications
cp -v qgroundcontrol.desktop $out/share/applications cp -v qgroundcontrol.desktop $out/share/applications