mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
This patch allows users to specify the connection port
in the store URLS like so:
```
nix store info --store "ssh-ng://localhost:22" --json
```
Previously this failed with: `error: failed to start SSH connection to 'localhost:22'`,
because the code did not distinguish the port from the hostname. This
patch remedies that problem by introducing a ParsedURL::Authority type
for working with parsed authority components of URIs.
Now that the URL parsing code is less ad-hoc we can
add more long-awaited fixes for specifying SSH connection
ports in store URIs.
Builds upon the work from
|
||
|---|---|---|
| .. | ||
| rl-next | ||
| source | ||
| theme | ||
| .version | ||
| anchors.jq | ||
| book.toml.in | ||
| custom.css | ||
| generate-builtins.nix | ||
| generate-deps.py | ||
| generate-manpage.nix | ||
| generate-settings.nix | ||
| generate-store-info.nix | ||
| generate-store-types.nix | ||
| generate-xp-features-shortlist.nix | ||
| generate-xp-features.nix | ||
| meson.build | ||
| package.nix | ||
| quote-literals.xsl | ||
| redirects.js | ||
| remove_before_wrapper.py | ||
| render-manpage.sh | ||
| substitute.py | ||
| utils.nix | ||