-
Notifications
You must be signed in to change notification settings - Fork 174
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
Use our own prefix to look up systemd user services dir #2388
Conversation
@fujiwarat is there any problem with this change? |
LGTM. Could you please add the prefix "configure: " to your patch subject and rebase your patch if you wish to import your signature? |
33b4b39
to
4c03d71
Compare
Done |
Sorry, thinking about this patch again, I think this patch has a problem. Why don't you fix systemduserunitdir in systemd.pc? Seems you wish to install the service files in /lib/systemd/user so I think ${libdir} is better than ${prefix}/lib in systemd.pc ? |
I don't think that's a real life problem. It seems to be the way In NixOS we want to install the unit files in I'm not sure how |
I mean the systemd.pc.in would be:
And the systemd.pc could be built with the configure file. |
E.g. ibus/engine/Makefile.am indicates $(XKBCONFIG_BASE) to find the directory from xkeyboard-config.pc |
If ibus is installed to |
OK, thank you for the explanation. |
Thank you for the patch. |
Fixes the build on NixOS.
See https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/ and the discussion at NixOS/nixpkgs#164105 (comment).