mirror of
https://github.com/NixOS/nix
synced 2025-07-12 19:05:08 +02:00
nix-cli: Add --json --pretty / --no-pretty
Default: istty(stdout) This refactors `nix develop` internals a bit to use the `json` type more. The assertion now operates in the in-memory json instead of re-parsing it. While this is technically a weaker guarantee, we should be able to rely on the library to get this right. It's its most essential purpose.
This commit is contained in:
parent
e9af7a0749
commit
fe00dfbd56
17 changed files with 151 additions and 29 deletions
|
@ -157,6 +157,7 @@ suites = [
|
|||
'impure-derivations.sh',
|
||||
'path-from-hash-part.sh',
|
||||
'path-info.sh',
|
||||
'json.sh',
|
||||
'toString-path.sh',
|
||||
'read-only-store.sh',
|
||||
'nested-sandboxing.sh',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue