Nixでパッケージの依存関係を一覧表示するには?

Nixでパッケージの依存関係を一覧表示するには?

次のエラーが発生します。

Package ‘python2.7-Pillow-6.2.2’ in /nix/store/...-nixos-21.05.1590.63ee5cd99a2/nixos/pkgs/development/python-modules/pillow/6.nix:19 is marked as insecure, refusing to evaluate.

走っている間home-manager switch

このパッケージを直接インストールしませんでした。

このパッケージを削除するための依存関係フォークが何であるかをどうやって確認できますか?

ベストアンサー1

あなたが探している

nix-store --query --referrers /nix/store/...(insert full path here)...

参照。https://nixos.org/manual/nix/stable/#Operation-query-1

おすすめ記事