-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
gomuks: patch out hardcoded path #109608
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
gomuks: patch out hardcoded path #109608
Conversation
One thing I wasn't sure about was whether to add a |
pkgs/applications/networking/instant-messengers/gomuks/hardcoded_path.patch
Outdated
Show resolved
Hide resolved
1e52798
to
34b9612
Compare
Seems reasonable. Could you open an upstream issue about not hardcoding the sound theme directory (and potentially |
34b9612
to
3ff9903
Compare
Done (tulir/gomuks#260) |
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. Thank you!
@charvp I didn't know it was supposed to make sounds, but then... I haven't used it in quite a while. If you're up for it, replace me in the maintainer list? |
pkgs/applications/networking/instant-messengers/gomuks/hardcoded_path.patch
Outdated
Show resolved
Hide resolved
Done. |
7b36f20
to
c9b68ab
Compare
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 1 package built:
|
Result of 1 package marked as broken and skipped:
|
c9b68ab
to
6cc9ee6
Compare
I've changed it so the patch is only included when the platform is Linux, which should hopefully unbreak darwin (since it seems that the extra pulseaudio dependency broke it). |
6cc9ee6
to
1e2c243
Compare
Good intention but normally we do not apply patches conditionally to prevent bit rot. I am not sure if it is okay here. |
The patched file is only compiled in on Linux, so it doesn't seem like a problem to me. But I'm not as experienced, so maybe it's a problem here as well. |
I thought a bit about it. Darwin does not work right now anyway so I would prefer to just apply the patch to all platforms and then I'll give this a merge. |
The Darwin build does succeed right now (with the derivation on the main branch): https://hydra.nixos.org/build/135068035 |
I meant building. Can you adopt the patch so that it applies on all platforms and does not break darwin? |
1e2c243
to
eddadc8
Compare
I've changed it so the binaries are injected with |
eddadc8
to
8cc494b
Compare
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
|
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 1 package built:
|
Motivation for this change
I didn't get any notification sounds, and I didn't like that.
Things done
Verified that I now do get notification sounds.
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)