system-config-printer: fix expansion of $(out) in .service file

Allows the configure-printer@.service to find the udev-configure-printer
program (correct ExecStart path).
This commit is contained in:
Bjørn Forsman 2016-08-25 17:28:16 +02:00
parent 3aa8f23aec
commit 8f6a8f0757

View File

@ -59,6 +59,10 @@ in stdenv.mkDerivation rec {
# The below line will be unneeded when the next upstream release arrives.
sed -i -e "s|/usr/bin|$out/bin|" "$out/share/dbus-1/services/org.fedoraproject.Config.Printing.service"
# Manually expand literal "$(out)", which have failed to expand
sed -e "s|ExecStart=\$(out)|ExecStart=$out|" \
-i "$out/etc/systemd/system/configure-printer@.service"
'';
meta = {