-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Split boost into multiple outputs #45462
Comments
IIRC it's even possible to build them separately. |
My use case is building a mixture of nix and non-nix things that require both
|
The issue @goertzenator reported also leads to problems with a user nix installation using home-manager with some package that depends on boost. |
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
I marked this as stale due to inactivity. → More info |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/boost-python-questions/13767/6 |
I marked this as stale due to inactivity. → More info |
It would be great to see this tackled at some point. Given this:
I wonder if it might even be better to adopt a structure similar to what's been done with |
If I have time, I would try to bring this change for 23.11. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-11-27-nix-team-meeting-minutes-107/36112/1 |
So these outputs would all operate in the way |
Yeah I was trying to clarify the constraints we have on the Nix semantics side of things. |
Issue description
Currently all Boost libraries are installed into the same output (
out
). This means that a package that uses any library gets all of them in its closure, plus assorted crap likeicu4c
(31 MiB). Also, it includes static libraries.So we should move at least some of them to separate outputs. E.g. Nix only uses
libboost_context
so it would be nice if there was aboost.context
output.The text was updated successfully, but these errors were encountered: