···3535 '';
36363737 passthru.cc = stdenv.cc.cc;
3838+ # GCC_INSTALL_PREFIX points here, so just use it even though it may not
3939+ # actually be a gcc
4040+ passthru.gcc = stdenv.cc.cc;
38413942 enableParallelBuilding = true;
4043
+1-1
pkgs/development/tools/misc/distcc/default.nix
···4141 #
4242 # extraConfig is meant to be sh lines exporting environment
4343 # variables like DISTCC_HOSTS, DISTCC_DIR, ...
4444- links = extraConfig : (runCommand "distcc-links" { }
4444+ links = extraConfig: (runCommand "distcc-links" { passthru.gcc = gcc.cc; }
4545 ''
4646 mkdir -p $out/bin
4747 if [ -x "${gcc.cc}/bin/gcc" ]; then