Skip to content

cppcheck: remove rules support to drop pcre - #576448

Merged
Scrumplex merged 1 commit into
NixOS:masterfrom
Scrumplex:pkgs/cppcheck/remove-pcre
Oct 24, 2026
Merged

Scrumplex merged 1 commit into
NixOS:masterfrom
Scrumplex:pkgs/cppcheck/remove-pcre

Conversation

@Scrumplex

Copy link
Copy Markdown
Member

pcre support is optional as it's only used for the rules feature. Other
distros do the same, such as Arch Linux1 or Debian2.

Things done

Footnotes

  1. https://gitlab.archlinux.org/archlinux/packaging/packages/cppcheck/-/commit/9b32321f68eab7519b6f46dc04fedcbd894462b2 ↩

  2. https://salsa.debian.org/reichel/cppcheck/-/commit/82df7e7d2aaa717eb594d69861f10d2e4d383ad7 ↩

@Scrumplex
Scrumplex force-pushed the pkgs/cppcheck/remove-pcre branch from b9ef516 to c9c7a36 Compare October 20, 2026 15:31
@nixpkgs-ci
nixpkgs-ci Bot requested a review from fliiiix October 20, 2026 15:38
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Oct 20, 2026
@Scrumplex

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 576448
Commit: c9c7a3624a2abc5145bc7b2531461cc29d2f7aa6


x86_64-linux

✅ 8 packages built:
  • cppcheck
  • libcangjie
  • gz-cmake
  • gz-utils
  • gz-math (python314Packages.gz-math, python313Packages.gz-math)
  • open-adventure
  • knobkraft-orm
  • ayatana-indicator-display

@fliiiix

fliiiix commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

I don't have access to a computer to try this right now but the diff looks good and i explored this option as well and this seems reasonable to me.

tl;dr can be merged 👍

Comment thread pkgs/by-name/cp/cppcheck/package.nix Resolved
@Scrumplex
Scrumplex force-pushed the pkgs/cppcheck/remove-pcre branch from c9c7a36 to 15107a0 Compare October 20, 2026 18:17
@Scrumplex
Scrumplex added this pull request to the merge queue Oct 24, 2026
Merged via the queue into NixOS:master with commit a42fa48 Oct 24, 2026
27 checks passed
@Scrumplex
Scrumplex deleted the pkgs/cppcheck/remove-pcre branch October 24, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants