modules/programs: patch dbus-1 files to use sandboxed binaries

This commit is contained in:
2024-01-29 13:09:43 +00:00
parent 3831c6f087
commit 47abdfb831

View File

@@ -142,6 +142,10 @@ let
substituteInPlace "$d" \ substituteInPlace "$d" \
--replace "Exec=${package}/bin/" "Exec=${sandboxedBins}/bin/" --replace "Exec=${package}/bin/" "Exec=${sandboxedBins}/bin/"
done done
for d in $out/share/dbus-1/services/*.service; do
substituteInPlace "$d" \
--replace "Exec=${package}/bin/" "Exec=${sandboxedBins}/bin/"
done
''; '';
# take the nearly-final sandboxed package, with binaries and and else, and # take the nearly-final sandboxed package, with binaries and and else, and