Files
lix/src
Cole Helbling c976cb0b8a Don't retry on "unsupported protocol" error
When encountering an unsupported protocol, there's no need to retry.
Chances are, it won't suddenly be supported between retry attempts;
error instead. Otherwise, you see something like the following:

    $ nix-env -i -f git://git@github.com/foo/bar
    warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 335 ms
    warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 604 ms
    warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 1340 ms
    warning: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1); retrying in 2685 ms

With this change, you now see:

    $ nix-env -i -f git://git@github.com/foo/bar
    error: unable to download 'git://git@github.com/foo/bar': Unsupported protocol (1)
2020-04-05 09:00:34 -07:00
..
2020-03-30 15:30:19 +02:00
2019-05-29 17:01:39 +08:00
2020-04-02 17:04:00 +02:00
2020-03-30 15:30:19 +02:00
2020-03-31 13:45:28 +02:00
2020-03-30 15:30:19 +02:00
2020-03-30 15:30:19 +02:00
2020-03-30 15:30:19 +02:00
2020-03-30 15:30:19 +02:00
2020-03-30 15:30:19 +02:00
2020-03-30 15:30:19 +02:00
2020-03-30 15:30:19 +02:00