Fix typo in primops.cc (and therefore Nix docs)

This also fixes the typo in the Nix docs at https://nixos.org/manual/nix/unstable/language/builtins.
This commit is contained in:
lexi 2024-01-25 15:30:51 +01:00 committed by GitHub
parent 979b00bce9
commit 08f38a3a40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1878,7 +1878,7 @@ static RegisterPrimOp primop_outputOf({
For instance, For instance,
```nix ```nix
builtins.outputOf builtins.outputOf
(builtins.outputOf myDrv "out) (builtins.outputOf myDrv "out")
"out" "out"
``` ```
will return a placeholder for the output of the output of `myDrv`. will return a placeholder for the output of the output of `myDrv`.