docs(nix): add notice for vulkan driver error potentially relating to nixpkgs mismatches

This commit is contained in:
Yusuf Bera Ertan 2021-08-03 00:45:01 +03:00
parent 521b2bf46b
commit 88eca50c36
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -22,6 +22,11 @@ git lfs install --local && git lfs fetch && git lfs checkout
```
This should be automatically done if you use the development shell.
If you get an issue such as `WARN gfx_backend_vulkan: Unable to create Vulkan instance: VkError(ERROR_INCOMPATIBLE_DRIVER)`,
it might be that your system nixpkgs version and veloren repo nixpkgs version might be too far apart. In that case, you can try
changing your system nixpkgs to the unstable channel, or change the `nixpkgs` input in the `flake.nix` to match your system
nixpkgs.
## Usage for players
### With flakes