diff --git a/pkgs/tools/misc/system-config-printer/default.nix b/pkgs/tools/misc/system-config-printer/default.nix index 7ed25fb549b0..b36697ede02d 100644 --- a/pkgs/tools/misc/system-config-printer/default.nix +++ b/pkgs/tools/misc/system-config-printer/default.nix @@ -53,6 +53,9 @@ in stdenv.mkDerivation rec { ( cd $out/share/system-config-printer/troubleshoot mv .__init__.py-wrapped __init__.py ) + + # 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" ''; meta = {