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
Get rid of manually setting --enable/disable-static/shared flags #51540
Comments
We probably should do the same thing with CMake and |
This sounds like a good idea to me. Are there any drawbacks? Otherwise let's do it. |
That's already controlled by `dontDisableStatic`, see: * https://nixos.org/nixpkgs/manual/#ssec-configure-phase * NixOS#51540
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
still important to me |
I marked this as stale due to inactivity. → More info |
still |
I marked this as stale due to inactivity. → More info |
Issue description
We shouldn't be setting these flags in configureFlags. Packages built in nixpkgs should all have set:
This is done automatically. Some places are setting this manually:
https://github.com/NixOS/nixpkgs/search?q=--enable-static
https://github.com/NixOS/nixpkgs/search?q=--disable-static
https://github.com/NixOS/nixpkgs/search?q=--enable-shared
https://github.com/NixOS/nixpkgs/search?q=--enable-shared
Most likely something else is going on that needs to be investigated.
The text was updated successfully, but these errors were encountered: