antiword: supports darwin

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