mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
bzip2/cross: Patch out erroneous path separator.
Not sure why this even got into the upstream release, as _all_ other includes use forward slashes. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
92c59d37a7
commit
423be7712b
@ -14,6 +14,7 @@ stdenv.mkDerivation {
|
||||
|
||||
crossAttrs = {
|
||||
patchPhase = ''
|
||||
sed -i -e '/<sys\\stat\.h>/s|\\|/|' bzip2.c
|
||||
sed -i -e 's/CC=gcc/CC=${stdenv.cross.config}-gcc/' \
|
||||
-e 's/AR=ar/AR=${stdenv.cross.config}-ar/' \
|
||||
-e 's/RANLIB=ranlib/RANLIB=${stdenv.cross.config}-ranlib/' \
|
||||
|
Loading…
Reference in New Issue
Block a user