forked from mirrors/nixpkgs
perl: fix evaluation on cygwin
... and maybe on other platforms that have `stdenv.cc.cc == null`. No hash changes where it did evaluate previously. Discussion: https://github.com/NixOS/nixpkgs/commit/b291f1682f#commitcomment-17558440
This commit is contained in:
parent
36b4e612e4
commit
5dfe6fd034
|
@ -102,7 +102,9 @@ let
|
|||
# TODO: removing those paths would be cleaner than overwriting with nonsense.
|
||||
substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
|
||||
--replace "${libcInc}" /no-such-path \
|
||||
--replace "${stdenv.cc.cc or "/no-such-path"}" /no-such-path \
|
||||
--replace "${
|
||||
if stdenv.cc.cc or null != null then stdenv.cc.cc else "/no-such-path"
|
||||
}" /no-such-path \
|
||||
--replace "$man" /no-such-path
|
||||
''; # */
|
||||
|
||||
|
|
Loading…
Reference in a new issue