diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-04-21 10:00:35 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-04-21 10:00:35 +0200 |
commit | 625d7b9043be673a8df33cc842ec5032d7705c06 (patch) | |
tree | 38777f48f2bb7b403b3e9f148000d0ffa8026cde /pkgs/tools/compression | |
parent | cdd1c9caa5d2a6eb184ec159bcfde3ac9745c56d (diff) | |
parent | 2d3376e84e4a24ca10480a9ade972db1e5c54e9f (diff) | |
download | nixlib-625d7b9043be673a8df33cc842ec5032d7705c06.tar nixlib-625d7b9043be673a8df33cc842ec5032d7705c06.tar.gz nixlib-625d7b9043be673a8df33cc842ec5032d7705c06.tar.bz2 nixlib-625d7b9043be673a8df33cc842ec5032d7705c06.tar.lz nixlib-625d7b9043be673a8df33cc842ec5032d7705c06.tar.xz nixlib-625d7b9043be673a8df33cc842ec5032d7705c06.tar.zst nixlib-625d7b9043be673a8df33cc842ec5032d7705c06.zip |
Merge pull request #1928 from 'cross-win-osx'.
This includes a lot of fixes for cross-building to Windows and Mac OS X and could possibly fix things even for non-cross-builds, like for example OpenSSL on Windows. The main reason for merging this in 14.04 already is that we already have runInWindowsVM in master and it doesn't work until we actually cross-build Cygwin's setup binary as the upstream version is a fast moving target which gets _overwritten_ on every new release. Conflicts: pkgs/top-level/all-packages.nix
Diffstat (limited to 'pkgs/tools/compression')
-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/' \ |