-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
nextcloud-client: fix dbus service location #368873
Conversation
@Ma27 you seem to have written the original patch. |
Isn't this a no-op? Isn't the build system using the value provided by pkg-config? If this solves the issue, did you try to upstream the patch? |
I answered my two questions by simply building the package on master. The issue is there. |
Upstream changed a little this logic. Probably it will be solved in the next bump. I didn't know one could pass a variable to override a value in pkg-config tho |
Latest version rn is 3.15.2 tho |
Thanks for your comments! |
The removed patch was intended to install the dbus service in the proper location, but due to a typo (`service` vs. `services`) never did. In the meantime, upstream introduced commit [1] making the patch unnecessary. To check that everything is in order, one can build nextcloud-client and verify that the service file is located at $out/share/dbus-1/services/. [1] nextcloud/desktop@6e1e8a8
0863ff7
to
41d9661
Compare
@lucasew Would you mind taking another look? |
I'm cherry-picking this to my branch to test I'm updating the package, I hope it doesn't conflict. If the stuff is in services instead of service then LGTM. |
For context:
|
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.
Diff LGTM ^^
|
I see no reason, why this service file would be placed in a location where dbus does not expect it.
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.