commit 0e2095fdbf0fa5fe4f7956c0eff5751f28b1699a
parent 764fcb31f62a93e2743240b2ece15b1630deedb4
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Tue, 18 Feb 2020 20:41:22 +0300
Fix mapsoft
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pkgs/applications/mapsoft/default.nix b/pkgs/applications/mapsoft/default.nix
@@ -2,7 +2,7 @@
, bc, fig2dev, imagemagick, m4, netpbm, pkgconfig, scons
, boost, curl, giflib, gtkmm2, jansson, libjpeg, libpng
, libshell, libtiff, libusb1, libxml2, libyaml, libzip
-, proj, shapelib, zlib }:
+, proj, shapelib, zlib, getopt }:
stdenv.mkDerivation rec {
pname = "mapsoft";
@@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
substituteInPlace $out/bin/mapsoft_wp_parse \
--replace "/usr/bin/perl" "${perlPackages.perl}/bin/perl"
wrapProgram $out/bin/mapsoft_wp_parse --prefix PERL5LIB : "$PERL5LIB"
+ substituteInPlace $out/bin/map_rescale \
+ --replace "getopt " "${getopt}/bin/getopt "
'';
meta = with stdenv.lib; {