Files
lix/src/libutil
Maximilian Bosch ddcef3bcbb Fix Nix to properly work with stores using a scoped IPv6 address
According to RFC4007[1], IPv6 addresses can have a so-called zone_id
separated from the actual address with `%` as delimiter. In contrast to
Nix 2.3, the version on `master` doesn't recognize it as such:

    $ nix ping-store --store ssh://root@fe80::1%18 --experimental-features nix-command
    warning: 'ping-store' is a deprecated alias for 'store ping'
    error: --- Error ----------------------------------------------------------------- nix
    don't know how to open Nix store 'ssh://root@fe80::1%18'

I modified the IPv6 match-regex accordingly to optionally detect this
part of the address. As we don't seem to do anything special with it, I
decided to leave it as part of the URL for now.

Fixes #4490

[1] https://tools.ietf.org/html/rfc4007
2021-03-16 19:14:42 +01:00
..
2020-05-04 14:44:00 -06:00
2020-07-12 16:52:20 +02:00
2020-12-02 14:23:38 +01:00
2020-09-21 18:42:21 +02:00
2020-12-02 14:17:27 +01:00
2021-01-08 12:22:21 +01:00
2020-10-29 18:17:39 +01:00
2021-01-21 11:02:09 +01:00
2016-11-07 14:35:47 +01:00
2020-10-07 16:33:19 +02:00
2020-12-02 14:17:27 +01:00
2020-12-02 14:17:27 +01:00
2020-07-30 15:27:28 +02:00
2021-01-21 11:02:09 +01:00
2020-12-10 16:41:24 +01:00
2018-02-14 18:26:37 -05:00
2020-06-16 14:28:41 +02:00
2020-06-16 14:28:41 +02:00
2021-01-21 11:02:09 +01:00
2020-09-17 20:21:04 +02:00
2019-12-07 22:35:14 +07:00
2017-10-09 15:41:09 +02:00
2020-10-06 10:40:07 +02:00
2020-10-26 17:01:20 +01:00
2020-09-21 18:22:45 +02:00
2020-09-21 18:22:45 +02:00
2021-01-21 11:02:09 +01:00
2019-11-06 16:53:02 +01:00