GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper · Issue #3906 · developing-today/code

chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906

New issue
Copy link
New issue
Copy link
Closed
Closed
chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper#3906
Copy link
Assignees
dezren39
Labels
effort/sSmall: expected under 2 hours of workkind/choreRoutine maintenance, housekeeping, dependency hygienemeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Nov 1, 2026
Issue body actions

Context

The 2026-10-30 nixpkgs update (tracking: #2715) bumped nixpkgs-unstable 6510408d -> 31ecbaca. Between those revisions, nixpkgs' Haskell builder stopped adding the pkg-config wrapper to Haskell package build environments. haskellPackages.regex-pcre (pulled into the amd system closure via haskellPackages.misfortune -> man-paths -> system-path) runs a Cabal configure check that hard-requires the pkg-config program, so its build now fails deterministically:

Error: [Cabal-7620]
The program 'pkg-config' version >=0.9.0 is required but it could not be found.

Evidence: on the old pin the derivation's nativeBuildInputs contain pkg-config-wrapper-0.29.2; on the new pin they do not. A solo rebuild on the new pin fails identically (not a flake).

The temporary override

nixos/nixpkgs/default.nix carries a small overlay that overrides haskellPackages.regex-pcre to append pkg-config to its nativeBuildInputs, restoring the old build environment for this one package.

Removal condition

Remove the overlay when nixpkgs' Haskell builder once again provides pkg-config in regex-pcre's build environment (check: the stock derivation's nativeBuildInputs contain a pkg-config path), or when regex-pcre/misfortune leaves the amd closure.

Removal test

Delete the overlay, then build nix build .#nixosConfigurations.amd.pkgs.haskellPackages.regex-pcre and the full amd toplevel; both must succeed.

Acceptance criteria

  • The removal condition is verified, not assumed: the stock (un-overlaid) haskellPackages.regex-pcre derivation's nativeBuildInputs contain a pkg-config path, OR regex-pcre/misfortune has left the amd closure.
  • If the condition holds: the overlay in nixos/nixpkgs/default.nix is removed and both nix build .#nixosConfigurations.amd.pkgs.haskellPackages.regex-pcre and the full amd toplevel build succeed.
  • If the condition does not hold yet: the check result (date + nixpkgs revision + what was observed) is recorded on this issue and the overlay stays.

Activity

Next
  1. dezren39
    added a commit that references this issue on Nov 1, 2026

    fix(nixpkgs): restore regex-pcre build env after Haskell builder and …

    efe1854
  2. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    Update from the fix (commit efe1854 on chore/nixpkgs-update-2026-10-30): the breakage is one layer deeper than the original report. With pkg-config restored, configure fails one check later: The pkg-config package 'libpcre' is required but it could not be found — the old Haskell builder also supplied the pkgconfig-depends library in buildInputs, and nixpkgs has since removed the EOL pcre package from every pin this flake carries, so there is nothing left to add back.

    The overlay therefore also vendors a minimal pcre 8.45 (the version the old pin shipped: same source tarball and configure flags; single combined output, doCheck = false, upstream's two patches omitted — one is PowerPC-only, the other only affects pcre's own test suite) used solely as regex-pcre's buildInputs entry. Verified: the fixed regex-pcre derivation realises cleanly on the new pin.

    Removal condition unchanged (stock regex-pcre builds again, or misfortune leaves the amd closure) — removing the overlay now also removes the vendored pcre definition inside it.

  3. dezren39
    added
    kind/choreRoutine maintenance, housekeeping, dependency hygiene
    priority/lowNice to have; do when convenient
    effort/sSmall: expected under 2 hours of work
    status/needs-triageNot yet triaged; needs a first look
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 1, 2026
  4. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    Intake review

    Related: code issue #2715 (nixpkgs update tracking — the 2026-10-30 bump 6510408d → 31ecbaca introduced the need for this override).

    Notes: This is a conditional-removal tracker, not an immediate change: the override is load-bearing today (the stock build fails deterministically with [Cabal-7620]). The issue's own removal test is the acceptance gate.

    Risks: Removing the overlay before upstream restores the pkg-config wrapper re-breaks the amd closure build. The verification must use the stock derivation (overlay disabled), not the overlaid one — the overlaid build passing proves nothing.

    Suggested approach: On each nixpkgs bump (see code issue #2715), run the stock-derivation check; remove the overlay in the same PR as the first bump that satisfies the condition.

    — fleet monitor intake enrichment, 2026-11-01 run (protocol §5). Acceptance criteria appended to the body where missing; labels normalized.

  5. dezren39
    added a commit that references this issue on Nov 1, 2026

    fix(nixpkgs): move the regex-pcre fix to the package set that actuall…

    fabaa37
  6. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    Relocation (commit fabaa37): the fix does NOT live in nixos/nixpkgs/default.nix after all. That module's assigned nixpkgs.pkgs is not the set the system profile is built from — nixos/environment/default.nix takes haskellPackages.misfortune (regex-pcre's consumer) from inputs.nixpkgs-master.legacyPackages in a raw with segment, which no overlay reaches. Verified by derivation hash: the toplevel graph kept referencing the stock misfortune/regex-pcre derivations while the assigned pkgs showed fixed ones (attempts 10–11 of the update build).

    The fix now lives in nixos/environment/default.nix: a nixpkgs-master-fixed binding next to hyprland-master extends the master legacyPackages set with the regex-pcre overlay (pkg-config + vendored pcre 8.45), and the master segment holding misfortune uses the extended set. The earlier overlay in nixos/nixpkgs/default.nix was removed again — one site only. Verified: systemPackages and the toplevel graph reference the fixed derivations, and the master-set regex-pcre derivation realises cleanly.

    Removal update: delete the nixpkgs-master-fixed binding and point the segment back at inputs.nixpkgs-master.legacyPackages.${system}; the rest of the removal condition/test is unchanged.

  7. github-actions
    assigned
    dezren39
    on Nov 1, 2026
  8. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  9. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/low). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  10. 87 remaining items

  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  12. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triaged)

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane ec118cad-0fd3-4652-91c4-27432f2f2efd
    • Session / ID: task 8298 (attempt 18)
    • Found via: queue claim
    • Task: Current-main triage of chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906.
    • Outcome: chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 remains OPEN with an explicit recheck order after Drew-owned PR chore(deps): nixpkgs update 2026-10-30 #4519 resolves; current main has only the nixpkgs-25 instance, tracked by chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447. The current-main finding and blocker were recorded above.
    • Links: chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906; chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447; chore(deps): nixpkgs update 2026-10-30 #4519; local triage worktree /home/user/git/fleet/8298 at f86e532b77d9f4a6fb53c9d768cfbf93bf399c9e
  13. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).

    Queue task(s) [8298] were marked done, and some work did land:

    • PR chore(deps): nixpkgs update 2026-11-04 #5453 — chore(deps): nixpkgs update 2026-11-04 (merged 2026-11-04T13:26:24Z): chore(deps): nixpkgs update 2026-11-04 #5453
    • Direct commits referencing this issue: 1335212, efe1854, fabaa37

    No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11682.

  14. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code, lane code-p)
    • Session / ID: task 12131
    • Found via: queue claim
    • Task: Triage the remainder of issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 (regex-pcre pkg-config override removal) against current state: what landed in PR chore(deps): nixpkgs update 2026-11-04 #5453, what remains, and convert any actionable remainder to a fix packet.
    • Expectation: triage (effort s) — verdict recorded on issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906; fix packet enqueued if a remainder exists, or issue closed with merged-PR evidence if fully satisfied.
    • Links: issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906; PR chore(deps): nixpkgs update 2026-11-04 #5453
  15. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 8, 2026
  16. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code, lane code-p)
    • Session / ID: task 12131
    • Found via: queue claim
    • Task: Triage verdict for issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 — closing as superseded; the sole remaining override instance is tracked by issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447.
    • Expectation: done = this verdict recorded, issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 closed with evidence, task 12131 completed as superseded.

    Triage verdict (task 12131, fresh at main bfa5cae, 2026-11-07)

    Issue #3906 tracked ONE instance: the master-pin overlay in nixos/nixpkgs/default.nix that appended pkg-config to haskellPackages.regex-pcre, with removal condition "stock nativeBuildInputs contain a pkg-config path, OR regex-pcre/misfortune leaves the amd closure".

    What the fresh check found:

    1. The chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 overlay no longer exists. nixos/nixpkgs/default.nix at current main contains no regex-pcre overlay (verified by grep over the whole tree: the only regex-pcre override left is the nixpkgs-25 one). The master/nixpkgs-master segment it belonged to was dropped in commit 321ad14 ("nix: drop nixpkgs-master and nixpkgs-stable inputs (nixpkgs: drop the nixpkgs-master input — amd should draw only from nixos-unstable (Drew directive) #3327)").
    2. Misfortune left the master-pin closure. The only consumer path is now nixpkgs-25-fixed.haskellPackages.misfortune in nixos/environment/default.nix — i.e. the second removal condition's substance holds for the master instance: nothing on the master pin consumes stock regex-pcre anymore.
    3. The remaining override is a different instance with its own tracker. Direct commit 1335212 ("fix(nixos): restore regex-pcre build env on the nixpkgs-25 segment", one of the commits the 2026-11-07 done-task-only audit cited for issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906) created the nixpkgs-25 instance in nixos/environment/default.nix, and issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447 — OPEN — tracks exactly its removal: "remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev". No new fix packet is needed from this triage; it would duplicate issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447.
    4. That remaining removal condition is still FALSE, so issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447 must stay open. Fresh eval at current main against the pinned nixpkgs-25 input (rev 1d060086d60c): stock haskellPackages.regex-pcre has meta.broken = true, nativeBuildInputs = [ghc-9.10.3, remove-references-to] (no pkg-config path), and buildInputs = [] (no pcre). The override in nixos/environment/default.nix is still load-bearing there.
    5. PR chore(deps): nixpkgs update 2026-11-04 #5453 (nixpkgs update 2026-11-04) is merged; PR chore(deps): nixpkgs update 2026-10-30 #4519 (the older nixpkgs update the previous triage waited on) is still open but is no longer the gating artifact for issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 — the pin restructure above superseded it.

    Disposition: issue #3906 is closed as superseded — its instance is gone from main and its only living remainder is owned by issue #5447. Anyone picking this up again should work issue #5447, not reopen this one.

  17. dezren39
    closed this as completedon Nov 8, 2026
  18. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  19. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code, lane code-p)
    • Session / ID: task 12131
    • Found via: queue claim
    • Task: Structured outcome record for task 12131 (per the mid-shift fallback protocol, §0b terminal-verb rule): the first fleet queue complete attempt's output was lost to a local parse error, and every subsequent queue verb (complete, heartbeat) returns the verdict "task 12131 is not claimed by repo-worker-code" — consistent with the first complete having landed. Because that cannot be distinguished from a lost claim with the available reads, the full outcome is recorded here durably.
    • Outcome: {"outcome": "superseded", "issue_state": "closed", "branch": "queue/12131-3906-regex-pcre-triage", "pr": null, "merge_sha": null, "tests": ["nix eval stock regex-pcre on pinned nixpkgs-25 at main bfa5cae: broken=true, nativeBuildInputs=[ghc-9.10.3, remove-references-to] (no pkg-config), buildInputs=[] — removal condition false for the issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447 instance", "grep current main: no regex-pcre overlay in nixos/nixpkgs/default.nix; only remaining override is the nixpkgs-25 instance in nixos/environment/default.nix tracked by issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447"], "ci": "not_applicable", "follow_up_task_ids": []}
    • Evidence: verdict comment chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 (comment) ; issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906 CLOSED; remaining instance owned by issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447 (OPEN, condition still false).
    • Links: issue chore(deps): remove the regex-pcre pkg-config override once nixpkgs' Haskell builder restores the wrapper #3906; issue chore(deps): remove the nixpkgs-25 regex-pcre pkg-config/pcre override once stock regex-pcre builds at the channel rev #5447; PR chore(deps): nixpkgs update 2026-11-04 #5453
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

effort/sSmall: expected under 2 hours of workkind/choreRoutine maintenance, housekeeping, dependency hygienemeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.