mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
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.
|
# TODO: removing those paths would be cleaner than overwriting with nonsense.
|
||||||
substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
|
substituteInPlace "$out"/lib/perl5/*/*/Config_heavy.pl \
|
||||||
--replace "${libcInc}" /no-such-path \
|
--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
|
--replace "$man" /no-such-path
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user