Add flake-based configuration and Cachix instructions#825
Add flake-based configuration and Cachix instructions#825
Conversation
| **Install Cachix (if not already installed):** | ||
|
|
||
| ```bash | ||
| nix-env -iA cachix -f https://cachix.org/api/v1/install | ||
| ``` | ||
|
|
||
| **Add the QGIS cache:** | ||
|
|
||
| ```bash | ||
| cachix use qgis | ||
| ``` | ||
|
|
There was a problem hiding this comment.
You don't need to have cachix installed if you are just pulling binaries.
There was a problem hiding this comment.
Also, we will add substituters configuration to QGIS flake.nix which will be automatically used when qgis is manually launched from flake. I am not sure how this works when this flake is included in a NixOS configuration.
There was a problem hiding this comment.
Move it to new NixOS section.
There was a problem hiding this comment.
Split Nix instructions to 1. Nix package, 2. NixOS
- Nix package
Add note that it works for all Linux distributions.
Should contain information how to run QGIS from upstream repo
nix run github:QGIS/qgis/<branch>#qgis
- NixOS
move all NixOS related instructions there
There was a problem hiding this comment.
We are missing installation instruction for Nix.
- Use DetSys installer
Co-authored-by: Ivan Mincik <ivan.mincik@gmail.com>
Co-authored-by: Ivan Mincik <ivan.mincik@gmail.com>
We need to add the cachix public key to this PR after following the steps described at Xpirix/QGIS#4 (I will create the PR for QGIS Later)