From 9ddb9054a2b370c4eeedc76e4c3c6c6eb193b219 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Mon, 8 Mar 2021 21:59:54 +0700 Subject: [PATCH] rman: fix darwin build --- pkgs/development/tools/misc/rman/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/rman/default.nix b/pkgs/development/tools/misc/rman/default.nix index 1f7de915c974..bf71b619e5aa 100644 --- a/pkgs/development/tools/misc/rman/default.nix +++ b/pkgs/development/tools/misc/rman/default.nix @@ -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; }; }