@@ -102,7 +102,9 @@ let
102 # TODO: removing those paths would be cleaner than overwriting with nonsense.
102 # TODO: removing those paths would be cleaner than overwriting with nonsense.
103 substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
103 substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
104 --replace "${libcInc}" /no-such-path \
104 --replace "${libcInc}" /no-such-path \
105− --replace "${stdenv.cc.cc or "/no-such-path"}" /no-such-path \
106+ if stdenv.cc.cc or null != null then stdenv.cc.cc else "/no-such-path"
106 --replace "$man" /no-such-path
108 --replace "$man" /no-such-path