tree: fix compilation on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-06-18 13:58:48 +10:00
parent 88eff1efac
commit 9b409f2cae

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 { };