Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on Nix 2.19+ #123

Merged
merged 3 commits into from
Mar 29, 2024
Merged

Conversation

winterqt
Copy link
Contributor

Nix 2.19 introduced a change 0 that broke how we compile our libnixstore bindings, which requires adding an additional include directory when we compile them.

I also included a semi-related maintenance change that I had to apply when fixing this, let me know if you'd rather pull those in from a separate PR.

This reverts commit bdafd64, as this
workaround is no longer required on newer Nixpkgs.
Copy link

@yu-re-ka yu-re-ka left a comment

Choose a reason for hiding this comment

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

Fixes compile issue

Nix 2.19 introduced a change [0] that broke how we compile our libnixstore
bindings, which requires adding an additional include directory when
we compile them.

[0]: NixOS/nix@b461cac
@zhaofengli
Copy link
Owner

LGTM, thanks! Also added NIX_INCLUDE_PATH to the devShell.

@zhaofengli zhaofengli merged commit 4dbdbee into zhaofengli:main Mar 29, 2024
11 checks passed
@winterqt winterqt deleted the fix-build-on-newer-nix branch March 29, 2024 20:01
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.

3 participants