Fix fallout of recent cc-wrapper changes

Fixes tarball except for 56e21d05e8
This commit is contained in:
Shea Levy
2015-03-24 22:13:43 -04:00
parent e104a7870f
commit 6e3c9d5ce4
8 changed files with 11 additions and 6 deletions
@@ -41,7 +41,7 @@ let
#
# extraConfig is meant to be sh lines exporting environment
# variables like DISTCC_HOSTS, DISTCC_DIR, ...
links = extraConfig : (runCommand "distcc-links" { }
links = extraConfig: (runCommand "distcc-links" { passthru.gcc = gcc.cc; }
''
mkdir -p $out/bin
if [ -x "${gcc.cc}/bin/gcc" ]; then