teensyduino: fix missing library paths
- The teensy binary requires Gtk2, not Gtk3. - The teensy_{ports,reboot,restart,serialmon} binaries need libudev.
This commit is contained in:
parent
cb72a93d2e
commit
fe397414c3
|
@ -23,6 +23,7 @@
|
|||
, glib
|
||||
, pango
|
||||
, gdk-pixbuf
|
||||
, gtk2
|
||||
, libpng12
|
||||
, expat
|
||||
, freetype
|
||||
|
@ -56,7 +57,7 @@ let
|
|||
gcc.cc.lib
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gtk3
|
||||
gtk2
|
||||
libpng12
|
||||
libusb-compat-0_1
|
||||
pango
|
||||
|
@ -240,7 +241,7 @@ stdenv.mkDerivation rec {
|
|||
patchelf --debug \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
--set-rpath "${teensy_libpath}" \
|
||||
$out/share/arduino/hardware/tools/teensy
|
||||
$out/share/arduino/hardware/tools/teensy{,_ports,_reboot,_restart,_serialmon}
|
||||
''}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue