1

docs: add troubleshooting section

This commit is contained in:
Himadri Bhattacharjee
2024-02-12 08:42:06 +05:30
parent e5eac71c57
commit a67f9ee242

View File

@@ -37,3 +37,18 @@ popd
```
followed by another rebuild.
## Troubleshooting
### command-not-found unable to connect to database
The programs.sqlite is only generated for the nixos- prefixed channels.
Run the following as root:
```sh
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nix-channel --update
```
Further reading: [NixOS discourse](https://discourse.nixos.org/t/command-not-found-unable-to-open-database/3807).