Repository navigation
ocamlPackages.ocaml_pcre: drop - #583709
Merged
Merged
Conversation
Skyb0rg007
force-pushed
the
ocaml-pcre-drop
branch
from
November 5, 2026 18:13
41332be to
2aefc75
Compare
Skyb0rg007
force-pushed
the
ocaml-pcre-drop
branch
2 times, most recently
from
November 5, 2026 18:30
4bc71e6 to
b43ec7c
Compare
Skyb0rg007
force-pushed
the
ocaml-pcre-drop
branch
from
November 7, 2026 16:56
b43ec7c to
b8a0ee5
Compare
Skyb0rg007
force-pushed
the
ocaml-pcre-drop
branch
2 times, most recently
from
November 9, 2026 11:56
56283ae to
4b8de70
Compare
2 of 13 tasks
Skyb0rg007
force-pushed
the
ocaml-pcre-drop
branch
from
November 9, 2026 13:40
4b8de70 to
a63af63
Compare
Skyb0rg007
marked this pull request as ready for review
November 9, 2026 13:41
happy-dude
added a commit
to happy-dude/dotfiles
that referenced
this pull request
Nov 9, 2026
The coccinelle override is meant to turn itself off once nixpkgs builds coccinelle against pcre2. NixOS/nixpkgs#582934 does that: it bumps coccinelle to 1.3.3 and swaps ocaml_pcre for ocamlPackages.pcre2, with the same source hash as the override. It merged to master as 39f3033937d1, but neither nixpkgs-unstable nor nixos-unstable carries it yet, so the override stays for now. Its follow-up, NixOS/nixpkgs#583709, deletes ocamlPackages.ocaml_pcre. The override's check reads `ocamlPackages.ocaml_pcre.name`, so once that lands, both profiles would fail to evaluate instead of warning. On that PR's head, a63af63d8142, the check fails with: error: attribute 'ocaml_pcre' missing Match the buildInputs' pname instead: ocaml_pcre's is "pcre" and the pcre2 binding's is "pcre2". The check then never names the removed attribute and still avoids forcing the broken package. Point the comment and warning at #582934, which superseded the closed NixOS/nixpkgs#554724. Tested by evaluating both profiles against three nixpkgs revisions: | nixpkgs | coccinelle input | override | warning | | ------------------------- | ---------------- | -------- | ------- | | locked 4fe25e12eb9f | pcre | on | none | | master 39f3033937d1 | pcre2 | off | shown | | #583709 head a63af63d8142 | pcre2 | off | shown | On the locked revision, both activation derivations are the same as before. At 39f3033937d1, applying the override to nixpkgs' coccinelle gives the same derivation as nixpkgs' own, so the override is redundant there, and the profiles install nixpkgs' coccinelle 1.3.3. These were checked by evaluation only; coccinelle from the two newer revisions was not built. Link: NixOS/nixpkgs#582934 Link: NixOS/nixpkgs#583709 Assisted-by: claude-opus-5-5:xhigh oh-my-pi Signed-off-by: Stanley Chan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes the
ocaml_pcrepackage from nixpkgs.This PR is
marked as draftas it depends on#583645,#583715,#582934,#584615,#584617,#584635, and#585404.This PR is ready for review
Things done
nixpkgs-reviewon this PR. See nixpkgs-review usage.