Update and fix build

This commit is contained in:
2024-06-18 22:26:52 +01:00
parent 1b4229ac39
commit ea24100bd4
5 changed files with 187 additions and 96 deletions

View File

@@ -16,12 +16,18 @@
pyaudio = super.pyaudio.overridePythonAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.portaudio ];
});
evdev = super.evdev.overridePythonAttrs (old: {
patchPhase = ''
substituteInPlace setup.py \
--replace-fail /usr/include ${pkgs.linuxHeaders}/include
'';
});
});
in
{
overlays = rec {
boardie = composeManyExtensions [
poetry2nix.overlay
poetry2nix.overlays.default
(final: prev: {
boardie = prev.poetry2nix.mkPoetryApplication {
projectDir = ./.;