feat: nixos dbus availability

This commit is contained in:
2025-05-15 18:38:00 +02:00
parent e4744bab81
commit 82b0cf7aaa
5 changed files with 91 additions and 32 deletions

View File

@@ -49,6 +49,20 @@ python3Packages.buildPythonApplication {
doCheck = false;
dontWrapGApps = true;
installPhase = ''
runHook preInstall
mkdir -p $out/${python3Packages.python.sitePackages}
cp -r bar $out/${python3Packages.python.sitePackages}/
# If you have any scripts to install
mkdir -p $out/bin
cp scripts/launcher.py $out/bin/bar
chmod +x $out/bin/bar
runHook postInstall
'';
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';