tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
antiword: supports darwin
Matthew Bauer
8 years ago
8d26be2a
1d84a914
+2
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
office
antiword
default.nix
+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
0
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
}