-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
mecab-nodic,mecab,python3Package.uamqp,source-highlight: fix build with clang 16 #265344
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest putting this in pkgs/tools/text/mecab/base.nix
(after configureFlags
), since both of these derivations (default.nix
and nodic.nix
) derive their attribute sets from the one in base.nix
. It's the same derivation, but one is with the ipadic
dictionary (default.nix
), and the other one is without it (nodic.nix
).
d2a0297
to
7b7eacc
Compare
Force the language mode to C++14. mecab-nodic uses several features that have been removed from C++17.
Add a `const` to fix an incompatible function pointer conversion error.
Fetch upstream patch to add C++17 compatibility (the default in clang 16) and standardize fetchpatch URLs and hashes.
7b7eacc
to
3f99aef
Compare
Description of changes
Second batch of fixes for staging-next #263535.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)