diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-06-17 13:25:50 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-06-17 13:25:50 +0200 |
commit | a3f2131eb69c57570a41d036f395df9252c39b8b (patch) | |
tree | 881b6c92c7d70ee63e37e0416a3bc9d1ec6fd87b /nixos/doc/manual/administration/store-corruption.xml | |
parent | 3c14bda7f5a065d3d290399db2ef15457af3906b (diff) | |
download | nixlib-a3f2131eb69c57570a41d036f395df9252c39b8b.tar nixlib-a3f2131eb69c57570a41d036f395df9252c39b8b.tar.gz nixlib-a3f2131eb69c57570a41d036f395df9252c39b8b.tar.bz2 nixlib-a3f2131eb69c57570a41d036f395df9252c39b8b.tar.lz nixlib-a3f2131eb69c57570a41d036f395df9252c39b8b.tar.xz nixlib-a3f2131eb69c57570a41d036f395df9252c39b8b.tar.zst nixlib-a3f2131eb69c57570a41d036f395df9252c39b8b.zip |
doc: Use prompt more often
Diffstat (limited to 'nixos/doc/manual/administration/store-corruption.xml')
-rw-r--r-- | nixos/doc/manual/administration/store-corruption.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/doc/manual/administration/store-corruption.xml b/nixos/doc/manual/administration/store-corruption.xml index a4ca3b651e20..b9d11152d5e1 100644 --- a/nixos/doc/manual/administration/store-corruption.xml +++ b/nixos/doc/manual/administration/store-corruption.xml @@ -18,7 +18,7 @@ If the corruption is in a path in the closure of the NixOS system configuration, you can fix it by doing <screen> -# nixos-rebuild switch --repair +<prompt># </prompt>nixos-rebuild switch --repair </screen> This will cause Nix to check every path in the closure, and if its cryptographic hash differs from the hash recorded in Nix’s database, the @@ -28,7 +28,7 @@ <para> You can also scan the entire Nix store for corrupt paths: <screen> -# nix-store --verify --check-contents --repair +<prompt># </prompt>nix-store --verify --check-contents --repair </screen> Any corrupt paths will be redownloaded if they’re available in a binary cache; otherwise, they cannot be repaired. |