aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Fleischman <jeremyfleischman@gmail.com>2023-01-09 00:49:46 -0800
committerGitHub <noreply@github.com>2023-01-09 09:49:46 +0100
commit89ef26664d3339a89afa8dfa762326cf196d1622 (patch)
tree722bc9095f34a8b8b1af67f69fe489f193677861
parent4e2b155d2346f1abeef7cf7ee8a076e884fba15d (diff)
Add a pointer from "realising" to `nix log`. (#4876)
-rw-r--r--doc/manual/src/command-ref/nix-store.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual/src/command-ref/nix-store.md b/doc/manual/src/command-ref/nix-store.md
index acf29e4aa..6d0e02ca5 100644
--- a/doc/manual/src/command-ref/nix-store.md
+++ b/doc/manual/src/command-ref/nix-store.md
@@ -155,6 +155,12 @@ To test whether a previously-built derivation is deterministic:
$ nix-build '<nixpkgs>' -A hello --check -K
```
+Use [`--read-log`](#operation---read-log) to show the stderr and stdout of a build:
+
+```console
+$ nix-store --read-log $(nix-instantiate ./test.nix)
+```
+
# Operation `--serve`
## Synopsis