diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-04 14:30:43 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-04 14:30:43 +0100 |
commit | 7495c61d49208a9fc90b937bca548d9005ff17c8 (patch) | |
tree | 5eec5f802d3146b8b1f788aa1275ea1c44a24d31 /pkgs/tools/compression | |
parent | ed867a50eb89a90db3b1741bf4c0bf0cd4557dba (diff) | |
parent | 899d81b37ba6dc26431b82b40300505f19504e03 (diff) | |
download | nixlib-7495c61d49208a9fc90b937bca548d9005ff17c8.tar nixlib-7495c61d49208a9fc90b937bca548d9005ff17c8.tar.gz nixlib-7495c61d49208a9fc90b937bca548d9005ff17c8.tar.bz2 nixlib-7495c61d49208a9fc90b937bca548d9005ff17c8.tar.lz nixlib-7495c61d49208a9fc90b937bca548d9005ff17c8.tar.xz nixlib-7495c61d49208a9fc90b937bca548d9005ff17c8.tar.zst nixlib-7495c61d49208a9fc90b937bca548d9005ff17c8.zip |
Merge remote-tracking branch 'origin/darwin-clang-stdenv' into staging
Conflicts: pkgs/applications/editors/vim/macvim.nix
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r-- | pkgs/tools/compression/bzip2/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/compression/bzip2/default.nix b/pkgs/tools/compression/bzip2/default.nix index 55fca6ca3cb9..256f574c2e0c 100644 --- a/pkgs/tools/compression/bzip2/default.nix +++ b/pkgs/tools/compression/bzip2/default.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation { sharedLibrary = !stdenv.isDarwin && !(stdenv ? isDietLibC) && !(stdenv ? isStatic) && stdenv.system != "i686-cygwin" && !linkStatic; + patchPhase = stdenv.lib.optionalString stdenv.isDarwin "substituteInPlace Makefile --replace 'CC=gcc' 'CC=clang'"; + preConfigure = "substituteInPlace Makefile --replace '$(PREFIX)/man' '$(PREFIX)/share/man'"; makeFlags = if linkStatic then "LDFLAGS=-static" else ""; |