docs: use git input instead of github input (#5791)

This commit is contained in:
dastarruer 2026-08-20 10:37:58 -04:00 • committed by GitHub
parent 4cbb2a25e7
commit 081a3ddbda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -130,7 +130,12 @@ nix run --accept-flake-config github:readest/readest
To install it, add the input to your `flake.nix`:
```nix
inputs.readest.url = "github:readest/readest";
# Due to a limitation in how Nix fetches submodules, a regular GitHub input type will fail to evaluate.
inputs.readest = {
url = "https://github.com/readest/readest.git";
type = "git";
submodules = true;
};
```
then in `configuration.nix` add the package and the cache. The cache is needed