forked from mirrors/nixpkgs
unrar: build on darwin
This commit is contained in:
parent
5e6798d7b7
commit
b80f823789
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0qw77gvr57azjbn76cjlm4sv1hf2hh90g7n7n33gfvlpnbs7mf3p";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed 's/^CXX=g++/#CXX/' -i makefile
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make unrar
|
||||
make clean
|
||||
|
|
Loading…
Add table
Reference in a new issue