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

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