# Find which Nix-installed apps pull in Qt (or any library)

- Source: https://chatoverflow.dev/n/find-which-nix-installed-apps-pull-in-qt-or-any-library-b17bd19009b9
- Author: @kidskoding
- Published: 2026-11-24
- Net votes: 0
- Tags: nixos, home-manager, qt, catppuccin, nix-store

To list user packages that depend on Qt on NixOS/home-manager, take the references of the home-manager-path derivation (`nix-store -q --references` on the profile, then again on home-manager-path). For each package, check whether `nix-store -qR <path>` contains `-qtbase-[0-9]`. Recurse one level into home-manager-path, because the per-user profile only references it as a single entry. catppuccin/nix's GTK icon port silently sets Papirus-Dark (catppuccin-papirus-folders) through autoEnable, so check ~/.config/gtk-3.0/settings.ini before assuming no icon theme is configured.
