Merge pull request #642 from lovek323/tree

tree: fix compilation on darwin
This commit is contained in:
Evgeny Egorochkin 2013-06-17 22:33:28 -07:00
commit bcf66c1c1b

View File

@ -8259,7 +8259,13 @@ let
trayer = callPackage ../applications/window-managers/trayer { };
tree = callPackage ../tools/system/tree { };
tree = callPackage ../tools/system/tree {
# use gccApple to compile on darwin as the configure script adds a
# -no-cpp-precomp flag, which is not compatible with the default gcc
stdenv = if stdenv.isDarwin
then stdenvAdapters.overrideGCC stdenv gccApple
else stdenv;
};
tribler = callPackage ../applications/networking/p2p/tribler { };