1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

nix flake archive: Skip relative path inputs

Fixes #12438.
This commit is contained in:
Eelco Dolstra 2025-02-24 15:30:30 +01:00
parent f3ea14c8dc
commit b4dfeafed5
2 changed files with 6 additions and 1 deletions

View file

@ -76,6 +76,9 @@ if ! isTestOnNixOS; then
fi
(! grep narHash "$subflake2/flake.lock")
# Test `nix flake archive` with relative path flakes.
nix flake archive --json "$rootFlake"
# Test circular relative path flakes. FIXME: doesn't work at the moment.
if false; then