mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +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
|
||
|---|---|---|
| .. | ||
| ca-fd-leak | ||
| cgroups | ||
| containers | ||
| fetch-git | ||
| functional | ||
| user-sandboxing | ||
| authorization.nix | ||
| chroot-store.nix | ||
| default.nix | ||
| fetchurl.nix | ||
| fsync.nix | ||
| git-submodules.nix | ||
| github-flakes.nix | ||
| gzip-content-encoding.nix | ||
| nix-copy-closure.nix | ||
| nix-copy.nix | ||
| nix-docker-test.sh | ||
| nix-docker.nix | ||
| nss-preload.nix | ||
| remote-builds-ssh-ng.nix | ||
| remote-builds.nix | ||
| s3-binary-cache-store.nix | ||
| setuid.nix | ||
| sourcehut-flakes.nix | ||
| tarball-flakes.nix | ||