Add udev libraries to fix nix build failure

This commit is contained in:
GHOSCHT 2024-02-03 23:08:04 +01:00
parent 595cef5aa7
commit aa79b90826
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -39,8 +39,8 @@
inherit (cargoToml.package) name version;
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
buildInputs = nonRustDeps;
nativeBuildInputs = nonRustDeps;
nativeBuildInputs = with pkgs; [pkg-config udev libudev-zero];
buildInputs = with pkgs; [udev libudev-zero];
postInstall = ''
mkdir -p $out/etc/udev/rules.d
echo "${udev-rule}" > $out/etc/udev/rules.d/70-heliox.rules