diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-02-24 02:25:46 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-02-24 07:26:23 +0100 |
commit | 423be7712bb710f10f2eb8198bae97e5aeb5f1fe (patch) | |
tree | 6440ab24551f50c11625c90ca3ceae0c814d048f /pkgs/tools/compression/bzip2 | |
parent | 92c59d37a7e7567567e5e84c7747818850e69d0b (diff) | |
download | nixlib-423be7712bb710f10f2eb8198bae97e5aeb5f1fe.tar nixlib-423be7712bb710f10f2eb8198bae97e5aeb5f1fe.tar.gz nixlib-423be7712bb710f10f2eb8198bae97e5aeb5f1fe.tar.bz2 nixlib-423be7712bb710f10f2eb8198bae97e5aeb5f1fe.tar.lz nixlib-423be7712bb710f10f2eb8198bae97e5aeb5f1fe.tar.xz nixlib-423be7712bb710f10f2eb8198bae97e5aeb5f1fe.tar.zst nixlib-423be7712bb710f10f2eb8198bae97e5aeb5f1fe.zip |
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>
Diffstat (limited to 'pkgs/tools/compression/bzip2')
-rw-r--r-- | pkgs/tools/compression/bzip2/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/compression/bzip2/default.nix b/pkgs/tools/compression/bzip2/default.nix index a431cd30a21f..55fca6ca3cb9 100644 --- a/pkgs/tools/compression/bzip2/default.nix +++ b/pkgs/tools/compression/bzip2/default.nix @@ -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/' \ |