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
discord: 0.0.5 -> 0.0.8 [backport to release-18.09] #54018
Conversation
It would be great if we could accomplish #54003 (comment) |
Hi! Thanks for the backport. We prefer using |
cbb3d7a
to
706a2c8
Compare
I have just force pushed over this branch with a commit that uses git cherry-pick -x and I will look into the proper channels to notify Discord about this, since it has been causing us issues since the early versions of Discord |
This fails to build with
|
Hmm that is strange, it built on my machine, but I'm based off of current master. I'll build the release branch and see what I can find. EDIT: Yep, seeing the exact same issue when I try to build release-18.09 with this commit! I'm not entirely sure how to proceed with fixing this, but will keep looking |
Removing |
Looking at the git history But that's not on 18.09. Shouldn't matter however if we remove it since it's not actually useful. |
Thanks @worldofpeace ! Right before posting this comment version 0.0.8 came out, breaking Discord yet again... Hurray... :( But I have quickly tested some things and everything appears to be working even without paxmark, and removing it makes it build for me on release-18.09. So I have pushed a commit bumping discord and removing the paxmark line to master and backported that to this PR |
🤣 Yeah that isn't very friendly for us
The paxmark line with removed in 1b146a8#diff-ec90eee065c44b72c6000faa6d9078c2 so you'll have to add a commit here to remove it. |
Thanks for the catch! I'm wondering if we should maybe wait on merging this into stable, just in case discord gives us another update over the next 24 hours. In the meantime, I'll try to find a means of contacting them. The reason I mention this, is that while a quick test seemed to be fine, I noticed that if I go to any conversation or server with significant history, there appear to be severe performance problems where there were none with 0.0.7. And because of Discord's update policy, we can't simply revert... |
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.
Looks good, builds. Though I haven't tested the function with 18.09, it should be fine 🤞
Just now reading this after i approved, and I agree that we should wait just in case they do a sneaky update again.
Indeed, that might also be something to contact them with as well. |
should be cautious of sneaky updates
Argh, I feel a bit silly. The 'performance issues' were due to me trying to build and run the package from release-18.09 on my system running NixOS master. So that's a non-issue, as the package build off master works with no performance issues on my system. I'm guessing release-18.09 will also be just fine if I do a full system rebuild based off of it, will try that tonight and report back. |
I'd recommend building a vm like
|
Thanks again, that is a really useful command! I had to bump up the default amount of RAM the VM uses by default to get Discord to work, but I see no problems at all. I haven't found a good channel to contact Discord yet (they recommend just pinging their Discordapp account on Twitter..) but I am still looking. In the meantime, I think if there are no updates in the next few hours, this should be good to merge. |
36d4bcd
to
8a00a45
Compare
Found that Discord was crashing when trying to upload a file, due to not being able to find gsettings-schema. Fixed! Haven't found any other issues, and things seem to have slowed down. With that, I think this is ready to be merged, given it passes a review :) |
discord now depends on gtk3 instead of gtk2. Unfortunately there is no public changelog to the Linux client specifically, so other changes are unknown.
Motivation for this change
Fixes #54003
Older versions of Discord become unusable every update that comes out, so it'd be nice to make sure our stable NixOS users don't lose the ability to use it.
Things done
sandbox
innix.conf
on non-NixOS)./result/bin/
)nix path-info -S
before and after)