$ nix-query gifsicl
error: selector ‘gifsicl’ matches no derivations
?=1 | Error
$ nix-query gifsicle
nixos.gifsicle gifsicle-1.88 Command-line tool for creating, editing, and getting information about GIF images and animations
?=0 | OK
$ nix-query gifsicl.*
nixos.gifsicle gifsicle-1.88 Command-line tool for creating, editing, and getting information about GIF images and animations
?=0 | OK
$ nix-query gif.*
nixos.giflib_4_1 giflib-4.1.6
nixos.giflib_5_0 giflib-5.0.6 A library for reading and writing gif images
nixos.giflib giflib-5.1.4 A library for reading and writing gif images
nixos.gifsicle gifsicle-1.88 Command-line tool for creating, editing, and getting information about GIF images and animations
?=0 | OK
$ nix-query -A nixos.haskellPackages | wc -l
10406
?=0 | OK
[nix-shell:~/src/dailykos/dailykos]$ nix-query -A nixos.vimPlugins | head -6
nixos.vimPlugins.pluginnames2nix vim-plugin-names-to-nix
nixos.vimPlugins.a-vim vimplugin-a-vim-2010-11-06
nixos.vimPlugins.align vimplugin-align-2012-08-07
nixos.vimPlugins.calendar vimplugin-calendar-vim-2016-07-18
nixos.vimPlugins.changeColorScheme-vim vimplugin-changeColorScheme-vim-2010-10-17
nixos.vimPlugins.CheckAttach vimplugin-CheckAttach-2015-06-22
This script wrapper predates nox
which is worth checking out now:
https://github.com/madjar/nox
HTH