nixos/doc: fix mention of reading test logs

This commit is contained in:
Winter 2022-01-11 20:43:08 -05:00
parent e00186bc0f
commit c772c572cf
2 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@ After building/downloading all required dependencies, this will perform
a build that starts a QEMU/KVM virtual machine containing a NixOS a build that starts a QEMU/KVM virtual machine containing a NixOS
system. The virtual machine mounts the Nix store of the host; this makes system. The virtual machine mounts the Nix store of the host; this makes
VM creation very fast, as no disk image needs to be created. Afterwards, VM creation very fast, as no disk image needs to be created. Afterwards,
you can view a pretty-printed log of the test: you can view a log of the test:
```ShellSession ```ShellSession
$ firefox result/log.html $ nix-store --read-log result
``` ```

View File

@ -26,9 +26,9 @@ machine: QEMU running (pid 8841)
perform a build that starts a QEMU/KVM virtual machine containing a perform a build that starts a QEMU/KVM virtual machine containing a
NixOS system. The virtual machine mounts the Nix store of the host; NixOS system. The virtual machine mounts the Nix store of the host;
this makes VM creation very fast, as no disk image needs to be this makes VM creation very fast, as no disk image needs to be
created. Afterwards, you can view a pretty-printed log of the test: created. Afterwards, you can view a log of the test:
</para> </para>
<programlisting> <programlisting>
$ firefox result/log.html $ nix-store --read-log result
</programlisting> </programlisting>
</section> </section>