pkgs/top-level/all-packages.nix: allow distcc to be configured via $NIXPKGS_CONFIG
Set distcc = { avahi = true; gtk = true; }; to enable support for the corresponding libraries. svn path=/nixpkgs/trunk/; revision=18016
This commit is contained in:
parent
96a32cffe2
commit
56ab8201f2
1 changed files with 4 additions and 2 deletions
|
@ -2696,8 +2696,10 @@ let
|
|||
};
|
||||
|
||||
distcc = import ../development/tools/misc/distcc {
|
||||
inherit fetchurl stdenv popt avahi pkgconfig python;
|
||||
inherit (gtkLibs) gtk;
|
||||
inherit fetchurl stdenv popt python;
|
||||
avahi = if getPkgConfig "distcc" "avahi" false then avahi else null;
|
||||
pkgconfig = if getPkgConfig "distcc" "gtk" false then pkgconfig else null;
|
||||
gtk = if getPkgConfig "distcc" "gtk" false then gtkLibs.gtk else null;
|
||||
};
|
||||
|
||||
docutils = builderDefsPackage (import ../development/tools/documentation/docutils) {
|
||||
|
|
Loading…
Reference in a new issue