diff --git a/pkgs/applications/mapsoft/default.nix b/pkgs/applications/mapsoft/default.nix
index e8ab9d44c2c66b993d73a095d3af1015d3471f45..e38671fb123312d659e0b98736dfd88edc743b1f 100644
--- a/pkgs/applications/mapsoft/default.nix
+++ b/pkgs/applications/mapsoft/default.nix
@@ -2,7 +2,7 @@ { stdenv, perlPackages, python2Packages, gimp, sources
, 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 @@ wrapPythonProgramsIn $out/lib/gimp/${stdenv.lib.versions.major gimp.version}.0/plug-ins/
substituteInPlace $out/bin/mapsoft_wp_parse \
--replace "/usr/bin/perl" "${perlPackages.perl}/bin/perl"
wrapProgram $out/bin/mapsoft_wp_parse --prefix PERL5LIB : "$PERL5LIB"
--replace "getopt " "${getopt}/bin/getopt "
'';
meta = with stdenv.lib; {
application/octet-stream
This content has been proxied by September (3851b).