Change:
<del> { lib, stdenv, fetchurl, perlPackages, makeWrapper, imagemagick, gdk-pixbuf, librsvg , hicolor-icon-theme, procps </del> <ins> { lib , stdenv , fetchFromGitHub , perlPackages , wrapGAppsHook , imagemagick , gdk-pixbuf , librsvg , hicolor-icon-theme , procps , libwnck , libappindicator-gtk3 </ins> }: let <del> perlModules = with perlPackages; [ Gnome2 Gnome2Canvas Gtk2 Glib Pango Gnome2VFS Gnome2Wnck Gtk2ImageView Gtk2Unique FileBaseDir FileWhich FileCopyRecursive XMLSimple NetDBus XMLTwig XMLParser HTTPMessage ProcSimple SortNaturally LocaleGettext ProcProcessTable URI ImageExifTool Gtk2AppIndicator LWP JSON ImageMagick WWWMechanize HTTPDate HTMLForm HTMLParser HTMLTagset JSONMaybeXS commonsense HTTPCookies NetOAuth PathClass GooCanvas X11Protocol Cairo EncodeLocale TryTiny TypesSerialiser LWPMediaTypes </del> <ins> perlModules = with perlPackages; [ # Not sure if these are needed # Gnome2 Gnome2Canvas Gnome2VFS Gtk2AppIndicator Gtk2Unique ImageMagick Cairo FileBaseDir FileWhich FileCopyRecursive XMLSimple XMLTwig XMLParser SortNaturally LocaleGettext ProcProcessTable X11Protocol ProcSimple ImageExifTool JSON JSONMaybeXS NetOAuth PathClass LWP LWPProtocolHttps NetDBus TryTiny WWWMechanize HTTPMessage HTTPDate HTMLForm HTMLParser HTMLTagset HTTPCookies EncodeLocale URI CarpAlways GlibObjectIntrospection NumberBytesHuman CairoGObject Readonly Gtk3ImageView Gtk3 Glib Pango GooCanvas2 GooCanvas2CairoTypes commonsense TypesSerialiser </ins> ]; in <del> stdenv.mkDerivation { name = "shutter-0.94.3"; </del> <ins> stdenv.mkDerivation rec { pname = "shutter"; version = "0.97"; </ins> <del> src = fetchurl { url = "https://launchpad.net/shutter/0.9x/0.94.3/+download/shutter-0.94.3.tar.gz"; sha256 = "01wv5k6zqfqa2rss461lpdpjxpfk4awzfdc6j2qk6bh4g4zgmgl5"; </del> <ins> src = fetchFromGitHub { owner = "shutter-project"; repo = "shutter"; rev = "v${version}"; sha256 = "sha256-/2eQLJJZP0ArQUrxcFdogv/4wy+O021hODkJYLQmLY8="; </ins> }; <del> nativeBuildInputs = [ makeWrapper ]; buildInputs = [ perlPackages.perl procps gdk-pixbuf librsvg ] ++ perlModules; </del> <ins> nativeBuildInputs = [ wrapGAppsHook ]; buildInputs = [ perlPackages.perl procps gdk-pixbuf librsvg libwnck libappindicator-gtk3 ] ++ perlModules; </ins> <del> installPhase = '' mkdir -p "$out" cp -a . "$out" (cd "$out" && mv CHANGES README COPYING "$out/share/doc/shutter") </del> <ins> makeFlags = [ "prefix=${placeholder "out"}" ]; </ins> <del> wrapProgram $out/bin/shutter  --set PERL5LIB "${perlPackages.makePerlPath perlModules}"  --prefix PATH : "${imagemagick.out}/bin"  --suffix XDG_DATA_DIRS : "${hicolor-icon-theme}/share"  --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" </del> <ins> postPatch = '' patchShebangs po2mo.sh ''; preFixup = '' gappsWrapperArgs+=( --set PERL5LIB ${perlPackages.makePerlPath perlModules}  --prefix PATH : ${lib.makeBinPath [ imagemagick ] }  --suffix XDG_DATA_DIRS : ${hicolor-icon-theme}/share  --set GDK_PIXBUF_MODULE_FILE $GDK_PIXBUF_MODULE_FILE ) </ins> ''; meta = with lib; {

Discussion:
Shutter fails to build, looks like an issue with Imagemagick. Steps to reproduce the behavior: Expect that it should build, it was working on my last generation. If applicable, add screenshots to help explain your problem. Add any other context about the problem here. Maintainer information: Probably related to
'shutter' is outdated in nixpkgs, perhaps we should start with a package update.
That would be nice but I think the problem is due to changes in perl packages
i tested and fixes this
I'll update shutter but will make the pr after the above pr has been merged