Fix indentation

This commit is contained in:
Eelco Dolstra 2023-01-18 16:33:39 +01:00
parent 1ebfa6ba2d
commit 8a3b30822b

View file

@ -89,7 +89,7 @@ nix build "$drv^first,second" --no-link --json | jq --exit-status '
(.outputs | (.outputs |
(keys | length == 2) and (keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and (.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second")))) (.second | match(".*multiple-outputs-a-second"))))
' '
nix build "$drv^*" --no-link --json | jq --exit-status ' nix build "$drv^*" --no-link --json | jq --exit-status '
@ -98,7 +98,7 @@ nix build "$drv^*" --no-link --json | jq --exit-status '
(.outputs | (.outputs |
(keys | length == 2) and (keys | length == 2) and
(.first | match(".*multiple-outputs-a-first")) and (.first | match(".*multiple-outputs-a-first")) and
(.second | match(".*multiple-outputs-a-second")))) (.second | match(".*multiple-outputs-a-second"))))
' '
# Make sure that `--impure` works (regression test for https://github.com/NixOS/nix/issues/6488) # Make sure that `--impure` works (regression test for https://github.com/NixOS/nix/issues/6488)