| 27 Sep 2023 |
@cifre:matrix.org |  Download image.png | 01:05:56 |
@cifre:matrix.org |  Download image.png | 01:06:14 |
| mib 🥐 changed their display name from mib to mib 🥐. | 05:53:08 |
Jan Tojnar | In reply to @cifre:matrix.org Idk how I have firefox developer edition installed but somehow but it's not in the path, and i can't uninstall it. You do not remember how you installed it? Try looking into ~/.local/share/applications directory | 18:41:15 |
Jan Tojnar | last time I tried Wine it installed ton of launchers there and then did not clean them | 18:42:22 |
Jan Tojnar | but it might also be a bug in packaging | 18:42:33 |
@cifre:matrix.org | In reply to @jtojnar:matrix.org You do not remember how you installed it? Try looking into ~/.local/share/applications directory there is no shortcut. yes i remember how i installed it, it's not a flatpak, not a windows exe, it was from the nixpkgs, the issue is that i am not able to remove the package as i'd normally do, like just removing it from environment.systemPackages of my configuration.nix. | 22:14:44 |
@cifre:matrix.org | Redacted or Malformed Event | 22:14:54 |
@cifre:matrix.org |  Download image.png | 22:20:26 |
@cifre:matrix.org |  Download image.png | 22:21:49 |
@cifre:matrix.org | In reply to @cifre:matrix.org sent an image. Ah, there is the app binary: /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8/lib/firefox/firefox
The only way I can think of to remove it is to manually remove the binary, but will that work? Or does something else need to be done to remove it completely? For me, removing it completely should also remove it from the "Open with..." options.
| 22:26:52 |
| fack joined the room. | 22:32:40 |
| 28 Sep 2023 |
uep | did you maybe install it with nix-env -i ? | 00:57:30 |
@cifre:matrix.org | In reply to @uep:matrix.org did you maybe install it with nix-env -i ? 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, no, now I can't get rid of firefox-devedition, I can't even set another browser as default. | 01:19:22 |
@cifre:matrix.org | In reply to @uep:matrix.org did you maybe install it with nix-env -i ? * 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:45 |
@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 |
uep | consored is probably a running process though | 01:50:05 |
@cifre:matrix.org | i can't paste every line, it'd be a wall.
/proc/14659/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14531/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14367/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14367/fd/63 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/85 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/32 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14469/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/66 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14367/fd/127 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/41 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
| 01:52:06 |
uep | also try nix-store --query --referrers <path> | 01:53:20 |
@cifre:matrix.org | ok, what is that for | 01:53:34 |
uep | yeah, are there any that are not /proc/... ? | 01:53:41 |