Update: the command actually completed after 36 mins. That’s weird. Why did it take so long?
Also, what is cuda? It seems to be related to NVidia GPUs. I don’t have an NVidia GPU. What would be causing this to be installed? How can I check this?
I just did a quick web search… Files with similar names seem to be 3GiB or larger. So depending on your connection speed and the connectivity of the host you download from, 30 minutes seem plausible…
(3 GiB in 30 minutes would be equivalent to a saturated 50 Mbit/s connection)
How can I find out which package is pulling in cuda as a dependency? I would love to be able to remove that package if I can, because it takes 30-45 min to build cuda everytime there is an update.
You can use nix path-info -r /run/current-system/sw | grep cuda to find out which exact path is pulled in, then use nix why-depends /run/current-system/sw /nix/store/$hash-$thatCudePath to get a clue what might pull it in.