From 4b542d0dcaa6d6712f06dcd725681fdd89b231f3 Mon Sep 17 00:00:00 2001 From: marble Date: Wed, 20 Mar 2024 22:45:00 +0100 Subject: [PATCH] Add udev to targetPkgs for openocd FHS env --- pkgs/esp-idf/tools.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/esp-idf/tools.nix b/pkgs/esp-idf/tools.nix index 18cc9ad..c7e2082 100644 --- a/pkgs/esp-idf/tools.nix +++ b/pkgs/esp-idf/tools.nix @@ -11,6 +11,7 @@ # Dependencies for the various binary tools. , zlib , libusb1 +, udev }: let @@ -23,7 +24,7 @@ let esp-clang = pkgs: (with pkgs; [ zlib libxml2 ]); riscv32-esp-elf = pkgs: (with pkgs; [ ]); esp32ulp-elf = pkgs: (with pkgs; [ ]); - openocd-esp32 = pkgs: (with pkgs; [ zlib libusb1 ]); + openocd-esp32 = pkgs: (with pkgs; [ zlib libusb1 udev ]); }; # Map nix system strings to the platforms listed in tools.json systemToToolPlatformString = {