The --debug flag might be controversial. It's just a shortcut for adding some --ad-hoc packages useful for debugging packages (file, gdb, strace, valgrind). I don't know if it's generally useful and if it merits it's own flag. The package selection came from reading the archlinux debugging guide.
[0] https://wiki.archlinux.org/index.php/Step-by-step_debugging_guide David Craven (4): lint: Add packages with suffix ':bin' to 'inputs-should-be-native'. gnu: Rename 'glib' label to 'glib:bin' where appropriate. lint: Add 'inputs-should-be-sorted' check. environment: Add '--debug' flag. gnu/packages/avahi.scm | 2 +- gnu/packages/cups.scm | 2 +- gnu/packages/geeqie.scm | 2 +- gnu/packages/gimp.scm | 2 +- gnu/packages/glib.scm | 8 +++--- gnu/packages/gnome.scm | 60 ++++++++++++++++++++++---------------------- gnu/packages/gnucash.scm | 2 +- gnu/packages/gstreamer.scm | 4 +-- gnu/packages/gtk.scm | 16 ++++++------ gnu/packages/ibus.scm | 4 +-- gnu/packages/mail.scm | 2 +- gnu/packages/pdf.scm | 2 +- gnu/packages/qemu.scm | 2 +- gnu/packages/statistics.scm | 2 +- gnu/packages/terminals.scm | 2 +- gnu/packages/wv.scm | 2 +- guix/scripts/environment.scm | 8 ++++++ guix/scripts/lint.scm | 37 +++++++++++++++++++++++---- 18 files changed, 97 insertions(+), 62 deletions(-) -- 2.9.0