11

Basically the title. I have Nixos running on a server that runs completely headless and while playing around today, I noticed that the rebuild takes longer than expected and apparently that's because firefox gets compiled.

Now, I don't have any GUI installed, and even if I had, I don't see a reason to compile FF from source.

My packages are just Jellyfin, Samba, Gitea, Nextcloud, virt-manager. None of these should depend on FF.

top 5 comments
sorted by: hot top controversial new old
[-] RonSijm@programming.dev 13 points 3 months ago

There's a project nix-tree that lets you see the dependency trees of Nixos.

Try that, (or post the output here). To see if firefox is referenced somewhere in the packages you're using

[-] agressivelyPassive@feddit.de 6 points 3 months ago

Well, that was easy.

I had networkmanager enabled and apparently, that also pulls in a bunch of gnome packages. Why nix thought that suddenly FF needs to be built from source, is beyond me.

[-] Atemu@lemmy.ml 3 points 3 months ago

Hmm, that shouldn't be the case could you open an issue on that?

[-] Atemu@lemmy.ml 6 points 3 months ago* (last edited 3 months ago)

Does firefox appear in your previous closure? nix-store --query --tree /run/current-system/ | grep firefox

[-] agressivelyPassive@feddit.de 1 points 3 months ago

I solved it using nix-tree, see the other comment.

this post was submitted on 28 Mar 2024
11 points (86.7% liked)

Nix / NixOS

1465 readers
2 users here now

Main links

Videos

founded 1 year ago
MODERATORS