Repository navigation
nim-unwrapped-2_2: drop pcre - #525960
nim-unwrapped-2_2: drop pcre#525960eclairevoyant wants to merge 1 commit into
Conversation
|
Should we add a patch to std/pcre with something like Mainly, I don't want to bother upstream when a user unexpectedly runs in to this. |
|
Didn't realise nre2 was only in devel, fair enough. Yeah we'll have to point people elsewhere then. |
Although if it is still technically feasible through nix for an end-user to add their own |
|
@eclairevoyant here is a patch to add a warning to lib/wrappers/pcre.nim, feel free to change the verbage diff --git a/lib/wrappers/pcre.nim b/lib/wrappers/pcre.nim
index 9144f6784..7a74a24da 100644
--- a/lib/wrappers/pcre.nim
+++ b/lib/wrappers/pcre.nim
@@ -471,3 +471,6 @@ proc study*(code: ptr Pcre,
type
PPcre* {.deprecated.} = ptr Pcre
PJitStack* {.deprecated.} = ptr JitStack
+
+{.warning: "Nixpkgs no longer supports pcre v1. You must either provide it yourself or use a third-party regex implementation".}
+ |
|
I'd prefer to use an error actually; if someone wants to implement it themselves they can easily override |
Since I do think users are likely to ignore an a FWIW to drop I ran nixpkgs-review locally when using a patch with
Additionally |
❌
|
|
@eclairevoyant are you still working on this? I can take over and push the changes I mentioned above in a new PR (see master...daylinmorgan:nixpkgs:nim-unwrapped/drop-pcre) and follow up on the tracking issue to ping the relevant maintainers for the 5 nim packages that will be effected by this change. |
|
https://github.com/zedeus/nitter What else is blocking here? |
|
there are a few downstream packages that will need to be addressed (besides the changes i mentioned above), see here |
|
Tomorrow is breaking changes freeze and this still hasn't been addressed. That way the only option is to mark nim 2.2 as broken. |
pcre isn't needed for
nre2anymoreThings done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.