mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
bzip2: Fix cross-compilation
The cross-compiling the "patchPhase" from the parent attribute set was preventing application of patches specified in the crossDrv. Fix by turning patchPhase into postPatch.
This commit is contained in:
parent
508ab8e949
commit
9f2cc14107
@ -58,7 +58,7 @@ in stdenv.mkDerivation {
|
||||
ln -s bzip2 $out/bin/bzcat
|
||||
'';
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace CC=gcc CC=cc
|
||||
substituteInPlace Makefile-libbz2_so --replace CC=gcc CC=cc
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user