mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Ensure nix flake show produces valid json
This commit is contained in:
parent
a82de5b31b
commit
dc25856d74
2 changed files with 5 additions and 0 deletions
|
@ -386,12 +386,14 @@ git -C $templatesDir commit -m 'Initial'
|
|||
|
||||
nix flake check templates
|
||||
nix flake show templates
|
||||
nix flake show templates --json | jq
|
||||
|
||||
(cd $flake7Dir && nix flake init)
|
||||
(cd $flake7Dir && nix flake init) # check idempotence
|
||||
git -C $flake7Dir add flake.nix
|
||||
nix flake check $flake7Dir
|
||||
nix flake show $flake7Dir
|
||||
nix flake show $flake7Dir --json | jq
|
||||
git -C $flake7Dir commit -a -m 'Initial'
|
||||
|
||||
# Test 'nix flake new'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue