audio-server: fix ledfx with headless

This commit is contained in:
Sandro - 2024-05-25 02:42:22 +02:00
parent 8479d347f8
commit 180dc53f69
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -67,7 +67,14 @@ in
};
nixpkgs.overlays = [
(final: prev: {
(final: prev: (lib.optionalAttrs config.environment.noXlibs {
ledfx = prev.ledfx.overrideAttrs ({ postPatch ? "", ...}: {
postPatch = postPatch + ''
substituteInPlace pyproject.toml \
--replace-fail 'pystray = ">=0.19.5"' ""
'';
});
} // {
python3 = prev.python3.override {
packageOverrides = python-final: python-prev:
(lib.optionalAttrs config.environment.noXlibs {
@ -81,7 +88,7 @@ in
});
};
python3Packages = final.python3.pkgs;
})
}))
];
security = {