diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-04-24 08:14:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 08:14:21 +0200 |
commit | 80828429d70e2cfd6bc41c9f2dd5e364c9ab706c (patch) | |
tree | 98e6935c3a2730aca768c283d0e2adeeac79d2f7 /pkgs/applications/office | |
parent | 2df7f1b5b5ad5c1a4805f6d756ede50e0930e9eb (diff) | |
parent | 2060f5b1fc2897e4fe2c48f9da3048865f5764c6 (diff) |
Merge pull request #25066 from matthewbauer/less-darwin-eval-errors
Add Darwin as platform to various "broken" packages that actually build
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/antiword/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/office/antiword/default.nix b/pkgs/applications/office/antiword/default.nix index 059c68b77e651..4858a9f8bb912 100644 --- a/pkgs/applications/office/antiword/default.nix +++ b/pkgs/applications/office/antiword/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation { prePatch = '' sed -i -e "s|/usr/local/bin|$out/bin|g" -e "s|/usr/share|$out/share|g" Makefile antiword.h + substituteInPlace Makefile --replace "gcc" "cc" ''; patches = [ ./10_fix_buffer_overflow_wordole_c.patch ]; @@ -25,6 +26,6 @@ stdenv.mkDerivation { license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.peti ]; - platforms = stdenv.lib.platforms.linux; + platforms = with stdenv.lib.platforms; linux ++ darwin; }; } |