1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/doc/manual
Maciej Krüger 49ba06175e
Add user@address:port support
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 bd1d2d1041.

Co-authored-by: Sergei Zimmerman <sergei@zimmerman.foo>
Co-authored-by: John Ericson <John.Ericson@Obsidian.Systems>
2025-08-06 23:48:14 +03:00
..
rl-next Add user@address:port support 2025-08-06 23:48:14 +03:00
source add derivation parser benchmark 2025-07-29 16:51:55 +02:00
theme doc/manual: don't need to copy highlight.js manually 2021-08-04 19:47:05 -07:00
.version Build the manual with Meson 2024-10-09 11:58:17 -04:00
anchors.jq doc: Port anchors preprocessor to jq script 2022-05-26 18:17:21 +02:00
book.toml.in Include the Nix version in the title of the manual 2025-02-24 14:49:58 +01:00
custom.css doc/manual: fix misaligned icons in custom.css (#11296) 2024-08-14 14:27:12 +02:00
generate-builtins.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-deps.py fix various typos in docs 2025-05-14 21:29:17 +02:00
generate-manpage.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-settings.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-store-info.nix Stores no longer inherit from their configs 2025-05-13 15:56:35 -04:00
generate-store-types.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-xp-features-shortlist.nix Format .nix files 2025-01-24 17:04:02 +01:00
generate-xp-features.nix Format .nix files 2025-01-24 17:04:02 +01:00
meson.build Require rsync in nix-manual meson.build 2025-07-17 22:59:37 +02:00
package.nix doc/manual: Render unreleased release notes on master 2025-05-14 23:03:33 +02:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
redirects.js glossary: refine the definition of "package" 2025-04-10 22:50:28 +02:00
remove_before_wrapper.py Build the manual with Meson 2024-10-09 11:58:17 -04:00
render-manpage.sh Build the manual with Meson 2024-10-09 11:58:17 -04:00
substitute.py doc: Render verbatim @docroot@ on contributing page 2025-05-17 17:50:49 +02:00
utils.nix Format .nix files 2025-01-24 17:04:02 +01:00