Skip to content

Instantly share code, notes, and snippets.

@Ethorbit
Last active August 30, 2025 00:50
Show Gist options
  • Select an option

  • Save Ethorbit/c9d16d9ecbe288da0b0961d8f0306155 to your computer and use it in GitHub Desktop.

Select an option

Save Ethorbit/c9d16d9ecbe288da0b0961d8f0306155 to your computer and use it in GitHub Desktop.
Nix example showing how to track down dependents of pattern-matched packages, useful if you get unwanted packages and don't know why
# Find out what depends on *kwallet* packages
nix-store -qR /run/current-system | grep -i kwallet | xargs -I {} nix why-depends /run/current-system {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment