btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / nu / nut / hardcode-paths.patch
blob2a85644358c978c7ae53f7289fceea30f653af2d
1 --- a/common/common.c
2 +++ b/common/common.c
3 @@ -1990,6 +1990,13 @@ ssize_t select_write(serial_handler_t *fd, const void *buf, const size_t buflen,
4 * communications media and/or vendor protocol.
5 */
6 static const char * search_paths_builtin[] = {
7 + "@avahi@",
8 + "@freeipmi@",
9 + "@libgpiod@",
10 + "@libusb@",
11 + "@neon@",
12 + "@libmodbus@",
13 + "@netsnmp@",
14 /* Use the library path (and bitness) provided during ./configure first */
15 LIBDIR,
16 "/usr"LIBDIR, /* Note: this can lead to bogus strings like */