I installed ipfetch and github-desktop packages by adding them to my configuration.nix
. After some days, I uninstalled them by removing them from my configuration.nix
and collected garbage by sudo nix-collect-garbage
, sudo nix-collect-garbage -d
, and sudo nix-store --gc
. Then rebuilt and rebooted the system many times.
But sudo find / -iname "*ipfetch*"
found:
/nix/store/m10gprgd4vyn343bp4aschzv9rf9snzr-ipfetch-unstable-2022-03-24.drv
/nix/store/4f8crynngzq0f3wwlcwpvkwfnyfx18q5-nixos-24.05/nixos/pkgs/tools/networking/ipfetch
/nix/store/5dh7wrhq15fa8f0ns9m88a8wm74kywy6-ipfetch-unstable-2022-03-24
/nix/store/5dh7wrhq15fa8f0ns9m88a8wm74kywy6-ipfetch-unstable-2022-03-24/bin/.ipfetch-wrapped
/nix/store/5dh7wrhq15fa8f0ns9m88a8wm74kywy6-ipfetch-unstable-2022-03-24/bin/ipfetch
/nix/store/5dh7wrhq15fa8f0ns9m88a8wm74kywy6-ipfetch-unstable-2022-03-24/usr/share/ipfetch
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/bin/ipfetch
/tmp/ipfetch.YOGuD0
/tmp/ipfetch.aZTQJI
/tmp/ipfetch.ITpGnJ
And sudo find / -iname "*github-desktop*"
found:
/nix/store/zkdppgm7b1j7wkqmvixjgwaxas1cd8rq-github-desktop-3.3.12.drv
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/bin/github-desktop
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/bin/.github-desktop-wrapped
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/applications/github-desktop.desktop
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/lintian/overrides/github-desktop
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/icons/hicolor/1024x1024/apps/github-desktop.png
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/icons/hicolor/64x64/apps/github-desktop.png
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/icons/hicolor/512x512/apps/github-desktop.png
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/icons/hicolor/256x256/apps/github-desktop.png
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/icons/hicolor/128x128/apps/github-desktop.png
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/icons/hicolor/32x32/apps/github-desktop.png
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/share/doc/github-desktop
/nix/store/gybw3nmq9xc4sqqwnad2isq6qmiw90qx-github-desktop-3.3.12/opt/github-desktop
/nix/store/4f8crynngzq0f3wwlcwpvkwfnyfx18q5-nixos-24.05/nixos/pkgs/by-name/gi/github-desktop
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/bin/github-desktop
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/share/applications/github-desktop.desktop
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/share/icons/hicolor/64x64/apps/github-desktop.png
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/share/icons/hicolor/512x512/apps/github-desktop.png
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/share/icons/hicolor/256x256/apps/github-desktop.png
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/share/icons/hicolor/128x128/apps/github-desktop.png
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/share/icons/hicolor/32x32/apps/github-desktop.png
/nix/store/92xx7lax63r6jqnpfq0i661azlszpz90-system-path/share/doc/github-desktop
They are not in my path as expected, but I can run them by their paths I found.
How to solve this type of issue, and how can I find my other shits to clean?