mediar-ai / screenpipe

rewind.ai x cursor.com = your AI assistant that has all the context
https://screenpi.pe
MIT License
8.75k stars 499 forks source link

[bug] Can't build v0.1.93 on NixOS #442

Open SomethingGeneric opened 1 month ago

SomethingGeneric commented 1 month ago

describe the bug Trying to build with cargo build, see the following error

to reproduce steps to reproduce the behavior:

  1. Try to cargo build on NixOS
  2. (I'm not really a rust user, happy to update with other relevant information)

expected behavior The project builds

screenshots image

system information:

additional context Trrying to update the screenpipe NixOS package to v0.1.93 (See: https://github.com/NixOS/nixpkgs/pull/345912 )

Reported the issue to WebRTC-vad (which is the library at fault, as best I can tell), but it does not seem to be anywhere near active) -> https://github.com/kaegi/webrtc-vad/issues/8

linear[bot] commented 1 month ago

MED-163 [bug] Can't build on NixOS

louis030195 commented 1 month ago

thanks working to support nixos!

i honestly don't know what's the issue, i don't think anybody use webrtc anymore and we could probably either remove the code or ignore under nixos or linux for example, would you be able to contribute those changes?

SomethingGeneric commented 1 month ago

Not sure I know enough about rust or this project's structure to do it well. Especially given that webrtc-vad isn't a direct dependency? I think some other library you import pulls it, but I have yet to figure out which

SomethingGeneric commented 1 month ago

cargo tree says that webrtc-vad is a dep of vad-rs.

SomethingGeneric commented 1 month ago

wait, nevermind. seems to come directly from screenpipe-core screenpipe-audio