From aa79b9082608be28e69666d2f8b49b85831f6dd6 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sat, 3 Feb 2024 23:08:04 +0100 Subject: [PATCH] Add udev libraries to fix nix build failure --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 55e6aa9..7e0764b 100644 --- a/flake.nix +++ b/flake.nix @@ -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