From b80f82378997b1c88b42df45ad2213cc89a050db Mon Sep 17 00:00:00 2001 From: Allan Espinosa Date: Fri, 11 Mar 2016 03:42:16 -0600 Subject: [PATCH] unrar: build on darwin --- pkgs/tools/archivers/unrar/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/archivers/unrar/default.nix b/pkgs/tools/archivers/unrar/default.nix index cbfced7aa6b2..768c7afd7eb7 100644 --- a/pkgs/tools/archivers/unrar/default.nix +++ b/pkgs/tools/archivers/unrar/default.nix @@ -9,6 +9,10 @@ stdenv.mkDerivation rec { sha256 = "0qw77gvr57azjbn76cjlm4sv1hf2hh90g7n7n33gfvlpnbs7mf3p"; }; + postPatch = '' + sed 's/^CXX=g++/#CXX/' -i makefile + ''; + buildPhase = '' make unrar make clean