Find all dependencies using pkg-config #301

Open
opened 2024-05-11 12:02:33 +00:00 by raito · 5 comments
Owner

We have some dependencies we find via CMake, which requires this sort of support code in nixpkgs: https://github.com/NixOS/nixpkgs/pull/310453.

To avoid this, we could spare some time fixing dependencies who are not compatible with pkg-config.

We have some dependencies we find via `CMake`, which requires this sort of support code in nixpkgs: https://github.com/NixOS/nixpkgs/pull/310453. To avoid this, we could spare some time fixing dependencies who are not compatible with `pkg-config`.
Owner

note: boost does not provide a pkg-config, but is an exception to this, as Meson does not use CMake to find boost (though its logic is broken under Nix, see https://github.com/NixOS/nixpkgs/issues/86131, which we have a workaround for in package.nix)

note: boost does not provide a pkg-config, but is an exception to this, as Meson does not use CMake to find boost (though its logic is broken under Nix, see https://github.com/NixOS/nixpkgs/issues/86131, which we have a workaround for in package.nix)
Owner

pegtl does not provide pkg-config files eiher, unless we vendor that this will be impossible to resolve

pegtl does not provide pkg-config files eiher, unless we vendor that this will be impossible to resolve
Owner

@pennae wrote in #301 (comment):

pegtl does not provide pkg-config files eiher, unless we vendor that this will be impossible to resolve

i think this would be reasonable to patch in nixpkgs though.

@pennae wrote in https://git.lix.systems/lix-project/lix/issues/301#issuecomment-17585: > pegtl does not provide pkg-config files eiher, unless we vendor that this will be impossible to resolve i think this would be reasonable to patch in nixpkgs though.
Owner

dunno about that, seems like a really weird thing to do? if anything that should be patched in the projects themselves, not in their packaging

dunno about that, seems like a really weird thing to do? if anything that should be patched in the projects themselves, not in their packaging
Author
Owner

I think among all the things we have to do, this is probably quite low priority. The support code is annoying but not a massive maintenance churn once figured out.

It is probably a good task to give to someone new who wants to get started with build systems code though.

I think among all the things we have to do, this is probably quite low priority. The support code is annoying but not a massive maintenance churn once figured out. It is probably a good task to give to someone new who wants to get started with build systems code though.
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#301
No description provided.