Repository navigation
Update NixOS Packaging and ReadMe - #32
Merged
Merged
Conversation
NixOS/nixpkgs#537108 necessitates adding libgit2 as a build input
flamingspaz
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 buildingframework_lib. This fix is to simply addlibgit2as 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.