[Backport release-24.05] pantalaimon: fix startup (#340291)

This commit is contained in:
Emily 2024-09-07 13:21:30 +01:00 committed by GitHub
commit ca64594e19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
, installShellFiles
, nixosTests
, enableDbusUi ? true
, wrapGAppsHook3
}:
python3Packages.buildPythonApplication rec {
@ -61,6 +62,15 @@ python3Packages.buildPythonApplication rec {
]
++ lib.flatten (lib.attrValues optional-dependencies);
nativeBuildInputs = lib.optionals enableDbusUi [
wrapGAppsHook3
];
dontWrapGApps = enableDbusUi;
makeWrapperArgs = lib.optionals enableDbusUi [
"\${gappsWrapperArgs[@]}"
];
# darwin has difficulty communicating with server, fails some integration tests
doCheck = !stdenv.isDarwin;