curtail: dont propagate unnecessary packages

pygobject3 has to be propagated for the import line in the python file
in bin

$ ./result/bin/curtail
Traceback (most recent call last):
File "/nix/store/fqjld9nchfwqd9x1pywmjfdsqrk4lxds-curtail-1.3.1/bin/.curtail-wrapped", line 37, in <module>
import gi
ModuleNotFoundError: No module named 'gi'

Artturin ab3ba31f 7242c23f

+12 -4
+12 -4
pkgs/applications/graphics/curtail/default.nix
··· 40 40 gobject-introspection 41 41 ]; 42 42 43 - propagatedBuildInputs = [ 43 + buildInputs = [ 44 44 appstream-glib 45 - python3.pkgs.pygobject3 46 45 gettext 47 46 gtk3 48 47 ]; 49 48 49 + propagatedBuildInputs = [ 50 + python3.pkgs.pygobject3 51 + ]; 52 + 50 53 preInstall = '' 51 54 patchShebangs ../build-aux/meson/postinstall.py 52 55 ''; 53 56 54 - postInstall = '' 55 - wrapProgram $out/bin/curtail --prefix PATH : ${lib.makeBinPath [ jpegoptim libwebp optipng pngquant ]} 57 + dontWrapGApps = true; 58 + 59 + preFixup = '' 60 + makeWrapperArgs+=( 61 + "''${gappsWrapperArgs[@]}" 62 + "--prefix" "PATH" ":" "${lib.makeBinPath [ jpegoptim libwebp optipng pngquant ]}" 63 + ) 56 64 ''; 57 65 58 66 meta = with lib; {