Files
nixpkgs/pkgs/by-name/nu/nut/hardcode-paths.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
505 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
--- a/common/common.c
+++ b/common/common.c
@@ -1990,6 +1990,13 @@ ssize_t select_write(serial_handler_t *fd, const void *buf, const size_t buflen,
* communications media and/or vendor protocol.
*/
static const char * search_paths_builtin[] = {
+ "@avahi@",
+ "@freeipmi@",
+ "@libgpiod@",
+ "@libusb@",
+ "@neon@",
+ "@libmodbus@",
+ "@netsnmp@",
/* Use the library path (and bitness) provided during ./configure first */
LIBDIR,
"/usr"LIBDIR, /* Note: this can lead to bogus strings like */