diff options
| author | David Wronek <david.wronek@mainlining.org> | 2025-12-10 21:28:36 +0100 |
|---|---|---|
| committer | David Wronek <david.wronek@mainlining.org> | 2025-12-12 10:10:11 +0100 |
| commit | 2af4e3982a10602cd0c60836c3f7a9b0f0495689 (patch) | |
| tree | 6a4d96f8f7d7281c2a19acfedeeefb7fac50d7b5 /pkgs/development/python-modules/robotframework-pythonlibcore/git@git.tavy.me:nixos | |
| parent | de7d968f0f248bc090a5a4c06424b22d4be68949 (diff) | |
nixos-rebuild-ng: improve IPv6 support
These changes improve support for using an IPv6 address for the target
host. This approach is similar to the one found in nix [1].
Previously, nixos-rebuild-ng would pass a host string to `ssh` that
cannot be parsed.
Since the host string is being treated like a URL, we encode the scope
ID symbol (%) as %25. This is required for compatibility with other nix
commands (e.g. nix-copy-closure).
Example:
```
nixos-rebuild \
--target-host "root@[fe80::9272:6aff:fe15:faf3%25enp4s0]" \
--flake path:/etc/nixos#xiatian -L \
switch
```
[1] https://github.com/NixOS/nix/blob/8b955d8/src/libstore/store-reference.cc#L143-L166
Signed-off-by: David Wronek <david.wronek@mainlining.org>
Diffstat (limited to 'pkgs/development/python-modules/robotframework-pythonlibcore/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions
