-
-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gforth: override swig, not swig3 #341230
gforth: override swig, not swig3 #341230
Conversation
This removes one of two remaining usages of the top-level `swig3` expression. (The other comes from older LLDB versions.) Also removes use of overrideDerivation in favour of preferred overrideAttrs.
I’m wondering if the better approach wouldn’t be to get rid of the old LLDBs (cc @RossComputerGuy), and then just move |
Okay actually apparently the patch to fix old LLDB versions is really simple: swig/swig#2377 (comment). So let’s just do that. |
And actually the patch was upstreamed as of LLVM 16: llvm/llvm-project@f0a25fe. So only LLDB 12–15 would need patching or dropping. |
LLDB 12 and 13 are already broken (on (Sorry for the only tangentially‐related noise on this PR. If you think the override approach here is the most maintainable thing going forward, let’s do that.) |
I don't mind the current overriding - swig seems fairly stable and this seems a bit cleaner than copying it over, and this one package does not really deserve a swig refactoring. (The weird |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, let’s just merge this. The whole thing is kind of gross anyway :)
I’ll put up a PR for LLDB.
Description of changes
Removes one of two remaining usages of the top-level
swig3
expression. (The other comes from olderLLDB
versions.)Also removes use of
overrideDerivation
in favour of preferredoverrideAttrs
.Unfortunately
gforth
still needs a custom fork of swig 3.0.9, but if absolutely necessary we could perhaps remove the swig dependency altogether, at the cost of some C interface support (I don't exactly understand what is lost by removing support from the compiler vs removing access to a standalone Forth-compatible swig, though).Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.