antiword: supports darwin

+2 -1
+2 -1
pkgs/applications/office/antiword/default.nix
··· 13 13 14 14 prePatch = '' 15 15 sed -i -e "s|/usr/local/bin|$out/bin|g" -e "s|/usr/share|$out/share|g" Makefile antiword.h 16 + substituteInPlace Makefile --replace "gcc" "cc" 16 17 ''; 17 18 18 19 patches = [ ./10_fix_buffer_overflow_wordole_c.patch ]; ··· 25 26 license = stdenv.lib.licenses.gpl2; 26 27 27 28 maintainers = [ stdenv.lib.maintainers.peti ]; 28 - platforms = stdenv.lib.platforms.linux; 29 + platforms = with stdenv.lib.platforms; linux ++ darwin; 29 30 }; 30 31 }