mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
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
1 changed files with 4 additions and 1 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue