How to install libudev

Hello Nix community!
I want to flash my esp using this rust library espflash.
The installation states:

If you are running Linux then libudev must also be installed; this is available via most popular package managers. If you are running Windows or macOS you can ignore this step.

I added systemd to my configuration.nix but running cargo install espflash still panicks

But I have not found libudev in the nix repos.
I am probably doing something wrong, I am very new…

Thanks in advance!

Hi,

espflash is already packaged: NixOS Search

There is no need to build it by youself.

Cheers

I feel totally embarrassed right now…
But thanks kind stranger