Add udev libraries to fix nix build failure
This commit is contained in:
parent
595cef5aa7
commit
aa79b90826
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@
|
||||||
inherit (cargoToml.package) name version;
|
inherit (cargoToml.package) name version;
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
buildInputs = nonRustDeps;
|
nativeBuildInputs = with pkgs; [pkg-config udev libudev-zero];
|
||||||
nativeBuildInputs = nonRustDeps;
|
buildInputs = with pkgs; [udev libudev-zero];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/etc/udev/rules.d
|
mkdir -p $out/etc/udev/rules.d
|
||||||
echo "${udev-rule}" > $out/etc/udev/rules.d/70-heliox.rules
|
echo "${udev-rule}" > $out/etc/udev/rules.d/70-heliox.rules
|
||||||
|
|
Loading…
Reference in a new issue