From 47abdfb831ef4429522bfe90f028d4d7469b6529 Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 29 Jan 2024 13:09:43 +0000 Subject: [PATCH] modules/programs: patch dbus-1 files to use sandboxed binaries --- modules/programs/make-sandboxed.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/programs/make-sandboxed.nix b/modules/programs/make-sandboxed.nix index b1c103c0..c73e772f 100644 --- a/modules/programs/make-sandboxed.nix +++ b/modules/programs/make-sandboxed.nix @@ -142,6 +142,10 @@ let substituteInPlace "$d" \ --replace "Exec=${package}/bin/" "Exec=${sandboxedBins}/bin/" 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