Repository navigation
coccinelle: 1.3.1 -> 1.3.3 - #582934
Merged
Merged
coccinelle: 1.3.1 -> 1.3.3#582934
Conversation
Co-authored-by: Stanley Chan <[email protected]>
Member
Author
|
Member
Author
|
(drbd failure is a kernel thing on 6.18) |
2 of 3 tasks
kid
added a commit
to kid/home-ops
that referenced
this pull request
Nov 7, 2026
nixpkgs `0bb2eed` (from #595) marks `ocamlPackages.ocaml_pcre` broken (legacy pcre removal, NixOS/nixpkgs@fa900f9e30). `coccinelle` depends on it, the `drbd` kernel module builds with `coccinelle`, and miroir loads `drbd` on every k3s node, so `colmena apply` on k3s-prd-* fails at evaluation. - Roll `nixpkgs` back to `3ec6363` (2026-10-23), the pre-#595 pin. Hold it until NixOS/nixpkgs#582934 (coccinelle 1.3.3 on pcre2) reaches nixos-unstable. - Add `checks.nixos-<host>`, building every `nixosConfigurations` toplevel (`modules/flake/nixos-checks.nix`). Plain `nix flake check` only checks a host is a derivation without instantiating it, which is why #595 passed CI. - Drop the `nix flake check` pre-push hook: it now builds every host closure. Verified locally: on `0bb2eed` the new check fails with the same `ocaml4.14.4-pcre` error; on `3ec6363` all four host checks build. Open question: CI's disk and its 5G `cache-nix-action` store cap may not fit four full system closures.
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.
supersedes #554724
diff: coccinelle/coccinelle@1.3.1...1.3.2
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.