···50 # State the gcc dependency, and make the cgi use our wrapper
51 sed -i -e 's@$0@"'$out/bin/ikiwiki'"@' \
52 -e "s@'cc'@'${stdenv.cc}/bin/gcc'@" IkiWiki/Wrapper.pm
00053 '';
5455 configurePhase = "perl Makefile.PL PREFIX=$out";
···50 # State the gcc dependency, and make the cgi use our wrapper
51 sed -i -e 's@$0@"'$out/bin/ikiwiki'"@' \
52 -e "s@'cc'@'${stdenv.cc}/bin/gcc'@" IkiWiki/Wrapper.pm
53+ # Without patched plugin shebangs, some tests like t/rst.t fail
54+ # (with docutilsSupport enabled)
55+ patchShebangs plugins/*
56 '';
5758 configurePhase = "perl Makefile.PL PREFIX=$out";