unrar: Fix for cross
Just read tool variables from environment, don't try to set them at all.
This commit is contained in:
@@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed 's/^CXX=g++/#CXX/' -i makefile
|
substituteInPlace makefile \
|
||||||
|
--replace "CXX=" "#CXX=" \
|
||||||
|
--replace "STRIP=" "#STRIP=" \
|
||||||
|
--replace "AR=" "#AR="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user