htop: make postPatch linux only to match dependency (#389413)

authored by

Franz Pletz and committed by
GitHub
0a2c7daf af28390a

+1 -1
+1 -1
pkgs/tools/system/htop/default.nix
··· 32 let 33 libnlPath = lib.getLib libnl; 34 in 35 - '' 36 substituteInPlace configure.ac \ 37 --replace-fail /usr/include/libnl3 ${lib.getDev libnl}/include/libnl3 38 substituteInPlace linux/LibNl.c \
··· 32 let 33 libnlPath = lib.getLib libnl; 34 in 35 + lib.optionalString stdenv.hostPlatform.isLinux '' 36 substituteInPlace configure.ac \ 37 --replace-fail /usr/include/libnl3 ${lib.getDev libnl}/include/libnl3 38 substituteInPlace linux/LibNl.c \