| 28 Sep 2023 |
@cifre:matrix.org | * no, I never install things like that, I add the packages I want to my configuration.nix, then I run sudo nixos-rebuild switch, to uninstall I just remove the packages from that file and rebuild, but that time it didn't work, now I can't get rid of firefox-devedition, I can't even set another browser as default. | 01:19:58 |
@cifre:matrix.org | * No, I never do that. I add the packages I want to my configuration.nix, then I run sudo nixos-rebuild switch, to uninstall I just remove the packages from that file and rebuild, but that time it didn't work, now I can't get rid of firefox-devedition, I can't even set another browser as default. | 01:40:24 |
uep | ok, cool. It's just a way that it might have remained installed despite being removed from environment.systemPackages | 01:43:52 |
uep | try looking for the gc-roots of that path | 01:44:30 |
@cifre:matrix.org | In reply to @uep:matrix.org try looking for the gc-roots of that path hm, how? | 01:44:58 |
uep | nix-store --query --roots <path> | 01:46:59 |
uep | that should tell you what's keeping it live in the store (a system generation, a user profile, etc). Which might help track down where to remove it from | 01:47:49 |
@cifre:matrix.org | okay it returns this "{censored} -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8" | 01:49:31 |
@cifre:matrix.org | * okay it returns this
{censored} -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8 | 01:49:47 |
uep | heh, try as root | 01:49:53 |