Skip to content

min: drop - #531896

Merged
Scrumplex merged 1 commit into
NixOS:masterfrom
Prince213:push-vusnouzmkykz
Oct 19, 2026
Merged

min: drop#531896
Scrumplex merged 1 commit into
NixOS:masterfrom
Prince213:push-vusnouzmkykz

Conversation

@Prince213

@Prince213 Prince213 commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

Upstream still seem to be active though.

Part of #356387.

Things done

@Prince213 Prince213 added the 8.has: clean-up This PR removes packages or removes other cruft label Jun 15, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Jun 15, 2026
@@ -1,44 +0,0 @@
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm no min user, but the upstream documentation explains the feature flag
-d:nopcre, which effectively drops...

[...] regular expressions and the following symbols will not be exposed by the global Module:

[search](https://min-lang.org/reference-global#op-search)
[match?](https://min-lang.org/reference-global#op-match?)
[search-all](https://min-lang.org/reference-global#op-search-all)
[replace](https://min-lang.org/reference-global#op-replace)
[replace-apply](https://min-lang.org/reference-global#op-replace-apply)

Maybe dropping just this subset is a little less invasive than dropping the package alltogether.

Also, as the upstream project is active, did you ask the maintainer for a bump to pcre2?

These two measures could go a long way :)

@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Jun 15, 2026

@GraysonTinker GraysonTinker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized I never put a message here. For the record, I'm working with the upstream maintainer on a fix, and I intend to take maintainership of the package. I'd appreciate if this wasn't dropped for the time being, but worst case I'll reintroduce it later.

@nyabinary

Copy link
Copy Markdown
Contributor

I realized I never put a message here. For the record, I'm working with the upstream maintainer on a fix, and I intend to take maintainership of the package. I'd appreciate if this wasn't dropped for the time being, but worst case I'll reintroduce it later.

Do you still intend to take maintainership of this package?

@GraysonTinker

Copy link
Copy Markdown
Member

@nyabinary Yes I do. I haven't talked to upstream since our first exchange, but I think they're waiting for Nim 2.4 which will make it a lot easier to switch away from PCRE1. It's at RC2 as of a few days ago, so hopefully it will come soon.

@Scrumplex

Scrumplex commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

This would be on-track to be merged before the feature freeze of 26.11. Has there been any movement upstream? We could always add this back, even during 26.11's lifetime if it isn't ready yet and has to be dropped first.

Edit: #567960

@GraysonTinker

Copy link
Copy Markdown
Member

Nim 2.4 still isn't out, and I don't believe Min has moved at all. As stated above, if this is what's blocking the removal of PCRE then I'm happy for this to be dropped and re-added later.

@Scrumplex

Copy link
Copy Markdown
Member

Great. I will track this as a blocker and merge this until 2026-10-26

@GraysonTinker GraysonTinker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not let this block PCRE.

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 19, 2026

@AiyionPrime AiyionPrime left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me. Blocking would be a bigger issue.

Comment thread pkgs/top-level/aliases.nix Resolved
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 19, 2026
Signed-off-by: Sefa Eyeoglu <[email protected]>
@Scrumplex

Copy link
Copy Markdown
Member

Once this is merged, feel free to immediately open a PR to add this back, perhaps with the pcre feature flag disabled as described in #531896 (comment)

@Scrumplex Scrumplex moved this from In progress to Done in 26.11 Blockers Oct 19, 2026
@Scrumplex
Scrumplex added this pull request to the merge queue Oct 19, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! label Oct 19, 2026
Merged via the queue into NixOS:master with commit f01fdfc Oct 19, 2026
28 checks passed
@GraysonTinker GraysonTinker mentioned this pull request Oct 19, 2026
3 of 14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants