Closed aleeusgr closed 1 month ago
$nix path-info -r /run/current-system | grep "python"
/nix/store/lzsr6hlbjyqihyz3nfrbpazg1a2mg65x-python-2.7.18.6
nix-store -q --referrers <path from previous step>
to list the packages that depend on the offending package
/nix/store/lzsr6hlbjyqihyz3nfrbpazg1a2mg65x-python-2.7.18.6
/nix/store/ab6lv49nxl8gw4xjijhqla1lqcrg73j5-home-manager-path
/nix/store/bbm1qx4bi3fc83ng3kzy42wy17iib9vs-home-manager-path
/nix/store/d5623bpqwdbgl5l8s5x03a7snn750kj0-home-manager-path
/nix/store/hfls12rqbsh02fbj705fkv495dxl34py-home-manager-path
/nix/store/k0b9wcasvlcskkif2ny896g771kz21di-home-manager-path
/nix/store/qdzfd2b4bw3ma94saxq6c7km1lvsysfg-home-manager-path
/nix/store/y2y6mnra5zp6x3szgf6yv0wqxr4pn9rs-home-manager-path
home-manager-path
?
https://discourse.nixos.org/t/unable-to-uninstall-home-manager-path/1993011:00 $ nix-store -q --referrers /nix/store/ab6lv49nxl8gw4xjijhqla1lqcrg73j5-home-manager-path
/nix/store/fkvwjbfdsv5rkh4532nszyn4jiym7qqi-hm_fontconfigconf.d10hmfonts.conf
https://github.com/aleeusgr/nix-things/blob/26d464b547c2a27dc68fde9cb85cd805f7b0901d/configuration.nix#L163-L165
how to fix?
See here: https://github.com/NixOS/nixpkgs/blob/a73feccb2a3ad78e2359b5504a7b8f7c62faa129/pkgs/development/haskell-modules/HACKING.md