unrar: Fix for cross

Just read tool variables from environment,
don't try to set them at all.
This commit is contained in:
Will Dietz 2018-01-11 14:15:04 -06:00
parent 60d5e68a25
commit a5e93fc0d6

View file

@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
};
postPatch = ''
sed 's/^CXX=g++/#CXX/' -i makefile
substituteInPlace makefile \
--replace "CXX=" "#CXX=" \
--replace "STRIP=" "#STRIP=" \
--replace "AR=" "#AR="
'';
buildPhase = ''