Clarify ambiguity in nix-instantiate man page

This commit is contained in:
Rebecca Turner 2024-01-12 11:31:49 -08:00
parent 2d96c7a51f
commit f73e50144f
No known key found for this signature in database

View file

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