···1+diff --git a/test/run b/test/run
2+index 9623e49d..3df1c5a8 100755
3+--- a/test/run
4++++ b/test/run
5+@@ -126,23 +126,17 @@ file_size() {
6+ objdump_cmd() {
7+ local file="$1"
8+9+- if $HOST_OS_APPLE; then
10+- xcrun dwarfdump -r 0 "$file"
11+- elif $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then
12++ if $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then
13+ # For some reason objdump only shows the basename of the file, so fall
14+ # back to brute force and ignorance.
15+ strings "$1"
16+ else
17+- objdump -W "$file"
18++ @objdump@ -W "$file"
19+ fi
20+ }
21+22+ objdump_grep_cmd() {
23+- if $HOST_OS_APPLE; then
24+- fgrep -q "\"$1\""
25+- else
26+- fgrep -q ": $1"
27+- fi
28++ fgrep -q ": $1"
29+ }
30+31+ expect_stat() {
+21-6
pkgs/top-level/all-packages.nix
···1097210973 cc-tool = callPackage ../development/tools/misc/cc-tool { };
1097410975- ccache = callPackage ../development/tools/misc/ccache { };
001097610977 # Wrapper that works as gcc or g++
10978 # It can be used by setting in nixpkgs config like this, for example:
···10994 # };
10995 # You can use a different directory, but whichever directory you choose
10996 # should be owned by user root, group nixbld with permissions 0770.
10997- ccacheWrapper = makeOverridable ({ extraConfig ? "", cc ? stdenv.cc }:
10998- cc.override { cc = ccache.links {
0000000000010999 inherit extraConfig;
11000- unwrappedCC = cc.cc;
11001- }; }) {};
11002- ccacheStdenv = lowPrio (overrideCC stdenv buildPackages.ccacheWrapper);
001100311004 cccc = callPackage ../development/tools/analysis/cccc { };
11005
···1097210973 cc-tool = callPackage ../development/tools/misc/cc-tool { };
1097410975+ ccache = callPackage ../development/tools/misc/ccache {
10976+ asciidoc = asciidoc-full;
10977+ };
1097810979 # Wrapper that works as gcc or g++
10980 # It can be used by setting in nixpkgs config like this, for example:
···10996 # };
10997 # You can use a different directory, but whichever directory you choose
10998 # should be owned by user root, group nixbld with permissions 0770.
10999+ ccacheWrapper = makeOverridable ({ extraConfig, cc }:
11000+ cc.override {
11001+ cc = ccache.links {
11002+ inherit extraConfig;
11003+ unwrappedCC = cc.cc;
11004+ };
11005+ }) {
11006+ extraConfig = "";
11007+ inherit (stdenv) cc;
11008+ };
11009+11010+ ccacheStdenv = lowPrio (makeOverridable ({ extraConfig, stdenv }:
11011+ overrideCC stdenv (buildPackages.ccacheWrapper.override {
11012 inherit extraConfig;
11013+ inherit (stdenv) cc;
11014+ })) {
11015+ extraConfig = "";
11016+ inherit stdenv;
11017+ });
1101811019 cccc = callPackage ../development/tools/analysis/cccc { };
11020