mirror of
https://github.com/NixOS/nix
synced 2025-07-08 15:13:55 +02:00
nix flake archive: Skip relative path inputs
Fixes #12438.
(cherry picked from commit b4dfeafed5
)
This commit is contained in:
parent
6d3ee99463
commit
d670380bd9
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue