wrapper-manager/sandboxing/bubblewrap: fix dbus submodule

We really have to have some testing infrastructure in this project. :(
This commit is contained in:
Gabriel Arazas 2024-07-27 20:03:32 +08:00
parent 193d587d07
commit 99e272efa9
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -149,16 +149,16 @@ in
}; };
}; };
}; };
config = lib.mkIf (config.sandboxing.variant == "bubblewrap") {
sandboxing.bubblewrap.dbus.filter.extraArgs =
let
makeDbusProxyArgs = address: metadata:
[ address metadata.path ] ++ metadata.extraArgs;
in
lib.lists.flatten (lib.mapAttrsToList makeDbusProxyArgs submoduleCfg.dbus.filter.addresses);
};
}; };
config = lib.mkIf (config.sandboxing.variant == "bubblewrap") {
sandboxing.bubblewrap.dbus.filter.extraArgs =
let
makeDbusProxyArgs = address: metadata:
[ address metadata.path ] ++ metadata.extraArgs;
in
lib.lists.flatten (lib.mapAttrsToList makeDbusProxyArgs submoduleCfg.dbus.filter.addresses);
};
}; };
in in
lib.mkOption { lib.mkOption {