NixOS GNOME | 403 Members | |
| A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...) | 92 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Sep 2023 | ||
In reply to @jtojnar:matrix.orgthere 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 | |
| Redacted or Malformed Event | 22:14:54 | |
Download image.png | 22:20:26 | |
Download image.png | 22:21:49 | |
In reply to @cifre:matrix.org 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 | |
| 22:32:40 | ||
| 28 Sep 2023 | ||
did you maybe install it with nix-env -i ? | 00:57:30 | |
In reply to @uep:matrix.orgno, 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 | |
In reply to @uep: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:45 | |
* 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 | |
* 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 | |
ok, cool. It's just a way that it might have remained installed despite being removed from environment.systemPackages | 01:43:52 | |
| try looking for the gc-roots of that path | 01:44:30 | |
In reply to @uep:matrix.orghm, how? | 01:44:58 | |
nix-store --query --roots <path> | 01:46:59 | |
| 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 | |
| okay it returns this "{censored} -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8" | 01:49:31 | |
* okay it returns this{censored} -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8 | 01:49:47 | |
| heh, try as root | 01:49:53 | |
| consored is probably a running process though | 01:50:05 | |
| i can't paste every line, it'd be a wall.
| 01:52:06 | |
also try nix-store --query --referrers <path> | 01:53:20 | |
| ok, what is that for | 01:53:34 | |
yeah, are there any that are not /proc/... ? | 01:53:41 | |
| the running processes are roots to stop the exe being gc'd while running | 01:54:07 | |
In reply to @uep:matrix.org nix-store --query --roots <path> no | 01:54:22 | |
| referrers will also give you a clie about what's pulling it in.. | 01:54:33 | |
like a ...-system-path derivation | 01:55:00 | |
In reply to @uep:matrix.org /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8 | 01:56:05 | |
| ok, so your firefox is still running, but should not be in the system path anymore and can get gc'd after you quit it | 01:56:31 | |