Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / nut / hardcode-paths.patch
bloba58d402a20589c8dde80934ab86e9605c1fc42ac
1 --- a/common/common.c
2 +++ b/common/common.c
3 @@ -991,6 +991,12 @@ ssize_t select_write(const int fd, const void *buf, const size_t buflen, const t
4 * communications media and/or vendor protocol.
5 */
6 static const char * search_paths[] = {
7 + "@avahi@",
8 + "@freeipmi@",
9 + "@libusb@",
10 + "@neon@",
11 + "@libmodbus@",
12 + "@netsnmp@",
13 /* Use the library path (and bitness) provided during ./configure first */
14 LIBDIR,
15 "/usr"LIBDIR,