Skip to content

Update NixOS Packaging and ReadMe - #32

Merged
flamingspaz merged 2 commits into
flamingspaz:mainfrom
LRFLEW:nixfix
Nov 16, 2026
Merged

flamingspaz merged 2 commits into
flamingspaz:mainfrom
LRFLEW:nixfix

Conversation

@LRFLEW

@LRFLEW LRFLEW commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

This includes two quick changes related to the NixOS packaging and nixpkgs.

Firstly, nixpkgs made a change to how Rust packages are built, particularly with how ot handles certain dependencies. One of these, libgit2, was causing problems with building framework_lib. This fix is to simply add libgit2 as a build input for the daemon, which I have done here. I also went ahead and updated the flake lock, as this change is related to an upstream change, so we should test it against the updated nixpkgs.

Secondly, I added a segment to the ReadMe for using the nixpkgs packaging instead of the flake / channel provided here. It's mostly the same as the channel instructions, but simplified, since the user should have the nixpkgs channel already setup. I also added a note about the option of using the other methods, with the trade-off of doing so. Lastly, I modified the flake / channel examples to add an exclusion for the nixpkgs module for this project. If the user is using a version of nixpkgs that includes this project, then this line is required to prevent conflicts, and if they're on an older version, then this line does nothing, so it's safe to just include it in the example either way.

@flamingspaz
flamingspaz merged commit 2ff2dd4 into flamingspaz:main Nov 16, 2026
6 of 7 checks passed
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