pantalaimon: fix startup (#339611)

This commit is contained in:
Guillaume Girol 2024-09-07 13:33:10 +02:00 committed by GitHub
commit bf2c184d5b
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 {
@ -60,6 +61,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;