I’m newbie here and started to use nixos today. As I tried to populate my profile with favourite programs I spotted that nixos-rebuild uses curl which won’t follow redirect without explicit --location option.
How should I pass this option to nixos-rebuild curl? I already tried .curlrc both in home dir and root dir - with no effect (however command line curl works like a charm)
Other option would be to replace curl with wget for fetching OR temporarily overriding url in .drv file, please, advise!
Are you saying that you added a package from nixpkgs, and that somehow nixos-rebuild fails because a redirect cannot be followed that is in the package you added?