Skip to content

Commit

Permalink
Clarify ambiguity in nix-instantiate man page
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Jan 12, 2024
1 parent 2d96c7a commit f73e501
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/manual/src/command-ref/nix-instantiate.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ standard input.

> **Warning**
>
> This option produces ambiguous output which is not suitable for machine
> consumption. For example, these two Nix expressions print the same result
> despite having different types:
> This option produces output which can be parsed as a Nix expression which
> will produce a different result than the input expression when evaluated.
> For example, these two Nix expressions print the same result despite
> having different meaning:
>
> ```console
> $ nix-instantiate --eval --expr '{ a = {}; }'
Expand Down

0 comments on commit f73e501

Please sign in to comment.