mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
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:
parent
3aa8f23aec
commit
8f6a8f0757
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user