1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

merkaartor: fix build

This commit is contained in:
Jonathan Ringer 2019-07-11 04:58:46 -07:00
parent 3fbca39afa
commit f34face721
2 changed files with 5 additions and 1 deletions

View file

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ];
postInstall = ''
wrapProgram $out/bin/merkaartor \
--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms

View file

@ -19056,7 +19056,9 @@ in
mercurialFull = appendToName "full" (pkgs.mercurial.override { guiSupport = true; });
merkaartor = libsForQt59.callPackage ../applications/misc/merkaartor { };
merkaartor = libsForQt59.callPackage ../applications/misc/merkaartor {
gdal = gdal_2; # https://github.com/openstreetmap/merkaartor/issues/179
};
meshlab = libsForQt5.callPackage ../applications/graphics/meshlab { };