lix/src
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
..
build-remote Merge pull request #4477 from NixOS/ca/build-remote 2021-02-26 16:54:44 +01:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd --override-input: Imply --no-write-lock-file 2021-03-16 16:53:39 +01:00
libexpr nix repl :doc: Don't return docs for partially applied primops 2021-03-03 17:52:57 +01:00
libfetchers Merge pull request #4566 from orbekk/master 2021-03-11 10:38:07 +01:00
libmain Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
libstore Merge pull request #4587 from obsidiansystems/derivation-goal-detect-invalid-output 2021-03-15 16:49:44 +01:00
libutil Fix Nix to properly work with stores using a scoped IPv6 address 2021-03-16 19:14:42 +01:00
nix Merge 'nix flake {info,list-inputs}' into 'nix flake metadata' 2021-03-16 17:19:04 +01:00
nix-build nix-build: set execfail 2021-03-04 18:54:45 -08:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure Use RealisedPaths in copyPaths 2021-02-25 17:18:48 +01:00
nix-env Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-instantiate Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-store Merge pull request #4477 from NixOS/ca/build-remote 2021-02-26 16:54:44 +01:00
resolve-system-dependencies Fix macOS build 2021-01-21 12:46:22 +01:00