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
betterdiscordctl: init at 1.7.0 #86943
Conversation
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.
I'll add the package to the betterdiscordctl readme once this is merged. 👍
I wouldn't mind being marked as a maintainer ( |
b10b9a9
to
cbb3b2c
Compare
cbb3b2c
to
630b470
Compare
The Also adressed other review comments, and updated to 1.7.0. |
Does this create a separate betterdiscordctl package for each version of Discord? |
It does not, it allows you to select which branch to use with the |
I'm not familiar with nix packaging. Can you change branches on the fly or do you have to reinstall it in order to use it on another Discord branch? |
You'd have to reinstall as it needs to repatch. Not sure of a better solution. However as 99.99% of users just use 1 branch of Discord i dont think it should be much of an issue. |
How about patching it so that it prefixes |
Sure, sounds good. If someone merges this (The installation derivation from that PR wouldn't be required as we handle that here) we can just wrap it to automatically use that flag here. Would indeed be a bit cleaner. Edit: Oh, looks like that would only support the stable branch, as other binaries are named differently. Would require a bit more than just merging that. |
The PR implementation doesn't seem like it'll work with PTB or Canary either. |
Any update on this? If not i think what I've done currently should be fine. I forgot to add documentation on how to switch discord versions in the package, so I'll add that now. |
7ade7fe
to
919c55b
Compare
I made an attempt over at bb010g/betterdiscordctl#67. If it's merged,
(Assuming regular expressions are supported.) Also, the version should be changed to |
919c55b
to
28f4483
Compare
Since it's taking a while for that PR to get merged upstream, I've just patched it in here. Current derivation works just fine, and is a lot cleaner than before IMO :) Should be ready to merge.
That release does not seem to exist? |
28f4483
to
be23046
Compare
Yeah, I was going to publish it once the PR was merged. |
be23046
to
cb369cf
Compare
is this ready? if the latest review is blocking then you could use sed right? |
cb369cf
to
3a3a356
Compare
I've done that, should indeed be ready now 👍 Sorry about the wait, totally forgot about this one. |
3a3a356
to
3e204f0
Compare
Result of 1 package built:
|
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.
Didn't really try to patch my Discord, but it seems to find my installation correctly.
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Result of 1 package built:
|
@IvarWithoutBones v1.7.1 has been published now. (Though BD broke in the meantime.) |
Motivation for this change
Adds betterdiscordctl, a pretty useful tool for customizing Discord. Tested with stable.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)