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
poco: propagate dependencies imported by CMake scripts #98186
Conversation
Actually this is broken. I assumed it worked because clickhouse worked, but I tried another out of tree package and it failed because for some unfathomable reason poco doesn't use GNUInstallDirs. |
a9e802d
to
bb78a12
Compare
I have submitted pocoproject/poco#3105 upstream to make poco use GNUInstallDirs. I added the patch to this PR. |
cc @orivej |
bb78a12
to
907f397
Compare
I marked this as stale due to inactivity. → More info |
I've been using this from @lopsided98's fork for a few weeks and it's worked great for me— I'd love to get it merged. Looks like the only changes needed to resolve the merge conflict are on the first line: |
907f397
to
ecdf40d
Compare
I fixed the conflicts. |
Why omit some of the |
|
Those files are not included in the release tarball. |
Cool - that would be nice to include in a comment. Oh and while I'm making a wishlist, adding a |
4822285
to
2cccf09
Compare
This also requires enable multiple outputs to prevent the closure size from increasing.
2cccf09
to
2122017
Compare
Motivation for this change
poco's CMake scripts search for a few libraries at build time, so they should be propagated to allow dependent packages to build without manually adding these libraries as
buildInputs
. I enabled split outputs to prevent the runtime closure size from increasing.The only packages affected by this change are
clickhouse
, which builds successfully, andtoggldesktop
, which was already broken.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)