Change:
I see the following warnings when running gimp: Not sure if they are critical or not. I do have problems with one Python plugin, not sure if this could be related. Run gimp from the terminal. I'm running it from i3+none desktop environment, if that matters. Please run and paste the results.
I can see the warning too. This is what the file looks like on Arch: nothing special compared to ours: The file exists and is executable Not really sure what is wrong. Also the Python scripts seem to work, at least does.
For me, resynthesizer runs but it doesn't produce correct results:
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
Still important to me. This is the current console output:
I have found this issue can be fixed by installing the python package by yourself (which is weird: it looks like GIMP may be trying to use the command from your ). I have it in my systemPackages and I got past that stage. However, is still blocking the usage of some plugins.
Spent some time in and it looks like the extension mapping from file only searches in path, not in the mapping described on previous lines and registered in : : The extension is so some other mechanism than extension matching must be involved – perhaps shebangs are applied. We will still want to hardcode the path to ensure purity.

Discussion:
, lib , fetchurl , substituteAll <ins> , autoreconfHook </ins> , pkgconfig , intltool , babl

, ghostscript , aalib , shared-mime-info <del> , python2Packages </del> <ins> , python2 </ins> , libexif , gettext <ins> , makeWrapper </ins> , xorg , glib-networking , libmypaint

}: let <del> inherit (python2Packages) pygtk wrapPython python; </del> <ins> python = python2.withPackages (pp: [ pp.pygtk ]); </ins> in stdenv.mkDerivation rec { pname = "gimp"; version = "2.10.20";

sha256 = "4S+fh0saAHxCd7YKqB4LZzML5+YVPldJ6tg5uQL8ezw="; }; <ins> patches = [ # to remove compiler from the runtime closure, reference was retained via # gimp --version --verbose output (substituteAll { src = ./remove-cc-reference.patch; cc_version = stdenv.cc.cc.name; }) # Use absolute paths instead of relying on PATH # to make sure plug-ins are loaded by the correct interpreter. ./hardcode-plugin-interpreters.patch ]; </ins> nativeBuildInputs = [ <ins> autoreconfHook # hardcode-plugin-interpreters.patch changes Makefile.am </ins> pkgconfig intltool gettext <del> wrapPython </del> <ins> makeWrapper </ins> ]; buildInputs = [

libwebp libheif python <del> pygtk </del> libexif xorg.libXpm glib-networking

gegl ]; <del> pythonPath = [ pygtk ]; </del> # Check if librsvg was built with --disable-pixbuf-loader. PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${librsvg}/${gdk-pixbuf.moduleDir}";

export GIO_EXTRA_MODULES="${glib-networking}/lib/gio/modules:$GIO_EXTRA_MODULES" ''; <del> patches = [ # to remove compiler from the runtime closure, reference was retained via # gimp --version --verbose output (substituteAll { src = ./remove-cc-reference.patch; cc_version = stdenv.cc.cc.name; }) ]; </del> postFixup = '' <del> wrapPythonProgramsIn $out/lib/gimp/${passthru.majorVersion}/plug-ins/ </del> wrapProgram $out/bin/gimp-${lib.versions.majorMinor version}  <del> --prefix PYTHONPATH : "$PYTHONPATH"  </del> --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" '';

<ins> --- a/plug-ins/pygimp/Makefile.am +++ b/plug-ins/pygimp/Makefile.am @@ -157,7 +157,7 @@ install-interp-file: echo 'python=$(PYBIN_PATH)' > '$(DESTDIR)$(pyinterpfile)' echo 'python2=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)' echo '/usr/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)' -	echo ":Python:E::py::`basename $(PYTHON)`:" >> '$(DESTDIR)$(pyinterpfile)' +	echo ":Python:E::py::$(PYTHON):" >> '$(DESTDIR)$(pyinterpfile)' install-data-local: install-env-file install-interp-file </ins>