system-config-printer: unbreak dbus service (again)
The service file refers to /usr/bin/... instead of a Nix store path.
Fix it.
The original fix was wrongly removed in commit 03353ce6ff738acce3d
("system-config-printer: 1.3.12 -> 1 5.7"). We can remove this fixup on
the _next_ upstream release.
commitb741df943fbe7dbbf8d2f295f9aaa0ce3991a5d2
authorBjørn Forsman <bjorn.forsman@gmail.com>
dateSat 18 Jun 2016, 16:57 (10 years ago)
parentdef3ad3
pkgs/tools/misc/system-config-printer/default.nix+3
@@ -53,6 +53,9 @@ in stdenv.mkDerivation rec {
5353 ( cd $out/share/system-config-printer/troubleshoot
5454 mv .__init__.py-wrapped __init__.py
5555 )
56+
57+ # The below line will be unneeded when the next upstream release arrives.
58+ sed -i -e "s|/usr/bin|$out/bin|" "$out/share/dbus-1/services/org.fedoraproject.Config.Printing.service"
5659 '';
5760
5861 meta = {