iftop: fix Darwin build

+2 -2
+2 -2
pkgs/tools/networking/iftop/default.nix
··· 10 10 11 11 # Explicitly link against libgcc_s, to work around the infamous 12 12 # "libgcc_s.so.1 must be installed for pthread_cancel to work". 13 - LDFLAGS = "-lgcc_s"; 13 + LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s"; 14 14 15 15 preConfigure = '' 16 16 cp ${automake}/share/automake*/config.{sub,guess} config ··· 27 27 ''; 28 28 license = licenses.gpl2Plus; 29 29 homepage = http://ex-parrot.com/pdw/iftop/; 30 - platforms = platforms.linux; 30 + platforms = platforms.unix; 31 31 maintainers = [ maintainers.mornfall ]; 32 32 }; 33 33 }