1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00
nix/tests/nixos
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
..
ca-fd-leak Apply clang-format universally. 2025-07-18 12:47:27 -04:00
cgroups Format .nix files 2025-01-24 17:04:02 +01:00
containers Format .nix files 2025-01-24 17:04:02 +01:00
fetch-git Add inputs.self.lfs 2025-02-13 17:59:27 +01:00
functional tests/nixos: Parametrize on the system 2025-07-29 01:24:03 +03:00
user-sandboxing Apply clang-format universally. 2025-07-18 12:47:27 -04:00
authorization.nix Format .nix files 2025-01-24 17:04:02 +01:00
chroot-store.nix Disallow the build directory having world-writable parents 2025-06-22 16:49:44 +02:00
default.nix tests/nixos: Parametrize on the system 2025-07-29 01:24:03 +03:00
fetchurl.nix Format .nix files 2025-01-24 17:04:02 +01:00
fsync.nix Format .nix files 2025-01-24 17:04:02 +01:00
git-submodules.nix tests/nixos: Work around network-online.target inactivity 2025-04-01 16:36:47 +02:00
github-flakes.nix installers, tests: remove --preserve=mode from cp invocations 2025-07-07 15:34:18 -06:00
gzip-content-encoding.nix Format .nix files 2025-01-24 17:04:02 +01:00
nix-copy-closure.nix Fix nix-copy-closure VM test 2025-05-15 12:55:08 +02:00
nix-copy.nix tests/nixos: Work around network-online.target inactivity 2025-04-01 16:36:47 +02:00
nix-docker-test.sh tests/nixos: add more thorough nix-docker tests 2024-11-11 22:56:46 +00:00
nix-docker.nix docker: use callPackage, parametrise the image build 2025-06-12 19:50:31 +02:00
nss-preload.nix tests/nixos: Work around network-online.target inactivity 2025-04-01 16:36:47 +02:00
remote-builds-ssh-ng.nix tests/nixos: Work around network-online.target inactivity 2025-04-01 16:36:47 +02:00
remote-builds.nix Add user@address:port support 2025-08-06 23:48:14 +03:00
s3-binary-cache-store.nix Make the S3 test more robust 2025-05-24 01:30:51 +02:00
setuid.nix Format .nix files 2025-01-24 17:04:02 +01:00
sourcehut-flakes.nix installers, tests: remove --preserve=mode from cp invocations 2025-07-07 15:34:18 -06:00
tarball-flakes.nix installers, tests: remove --preserve=mode from cp invocations 2025-07-07 15:34:18 -06:00