unrar: Fix for cross
Just read tool variables from environment, don't try to set them at all.
This commit is contained in:
parent
60d5e68a25
commit
a5e93fc0d6
@ -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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user