unrar: build on darwin

This commit is contained in:
Allan Espinosa 2016-03-11 03:42:16 -06:00
parent 5e6798d7b7
commit b80f823789

View File

@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "0qw77gvr57azjbn76cjlm4sv1hf2hh90g7n7n33gfvlpnbs7mf3p";
};
postPatch = ''
sed 's/^CXX=g++/#CXX/' -i makefile
'';
buildPhase = ''
make unrar
make clean