Skip to content

Add flake-based configuration and Cachix instructions#825

Draft
Xpirix wants to merge 3 commits intoqgis:mainfrom
Xpirix:nix_cachix_instruction
Draft

Add flake-based configuration and Cachix instructions#825
Xpirix wants to merge 3 commits intoqgis:mainfrom
Xpirix:nix_cachix_instruction

Conversation

@Xpirix
Copy link
Copy Markdown
Collaborator

@Xpirix Xpirix commented Dec 4, 2025

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)

Comment on lines +508 to +519
**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
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to have cachix installed if you are just pulling binaries.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move it to new NixOS section.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split Nix instructions to 1. Nix package, 2. NixOS

  1. 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
  1. NixOS

move all NixOS related instructions there

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are missing installation instruction for Nix.

  1. Use DetSys installer

Xpirix and others added 2 commits December 9, 2025 08:33
Co-authored-by: Ivan Mincik <ivan.mincik@gmail.com>
Co-authored-by: Ivan Mincik <ivan.mincik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants