rman: fix darwin build

This commit is contained in:
Ben Siraphob 2021-03-08 21:59:54 +07:00
parent 23d7ea3d2a
commit 9ddb9054a2

View file

@ -10,7 +10,8 @@ stdenv.mkDerivation {
postPatch = ''
substituteInPlace Makefile \
--replace ginstall install
--replace ginstall install \
--replace gcc '${stdenv.cc.targetPrefix}cc'
'';
makeFlags = [ "BINDIR=$(out)/bin" "MANDIR=$(out)/share/man" ];
@ -27,6 +28,6 @@ stdenv.mkDerivation {
meta = {
description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats";
license = "artistic";
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}