diff options
| author | tv <tv@krebsco.de> | 2026-11-12 20:25:15 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-13 03:24:29 +0100 |
| commit | 32eeb3aeda1519acbc15c120693aebc95cbd5c38 (patch) | |
| tree | 38f7d19ce5ca0dd5e99ae9aeb4fb3eb7b9ee91f1 /tests/jq.sh | |
| parent | 1880ceb3544de8cf194163394c8291b60924a2e6 (diff) | |
krops writeDeploy: deploy every flake by a URL Nix can't misread
nixos-rebuild gets generated flakes as path: URLs, but other flakes by
their bare paths, which Nix takes for the enclosing Git work tree, if the
target directory lies in one. A file source there fails to deploy,
because the work tree doesn't track it. Every flake gets deployed by a
URL: a Git work tree as git+file:, with submodules if it has any, like
populate refers to it, and anything else as path:.
The path gets resolved on the build target, because Nix refuses URLs
with symlinks on the way, which the target directory may be, and
percent-encoded.
--build-host and --target-host name no user if the target has none,
instead of failing to evaluate.
The deploy test also deploys flakes from file and git sources. Its
scenarios evaluate without LOGNAME.
Diffstat (limited to 'tests/jq.sh')
0 files changed, 0 insertions, 0 deletions
