ikiwiki: fix broken test for gitSupport

+5
+5
pkgs/applications/misc/ikiwiki/default.nix
··· 57 # Without patched plugin shebangs, some tests like t/rst.t fail 58 # (with docutilsSupport enabled) 59 patchShebangs plugins/* 60 ''; 61 62 configurePhase = "perl Makefile.PL PREFIX=$out";
··· 57 # Without patched plugin shebangs, some tests like t/rst.t fail 58 # (with docutilsSupport enabled) 59 patchShebangs plugins/* 60 + 61 + # Creating shared git repo fails when running tests in Nix sandbox. 62 + # The error is: "fatal: Could not make /tmp/ikiwiki-test-git.2043/repo/branches/ writable by group". 63 + # Hopefully, not many people use `ikiwiki-makerepo` to create locally shared repositories these days. 64 + substituteInPlace ikiwiki-makerepo --replace "git --bare init --shared" "git --bare init" 65 ''; 66 67 configurePhase = "perl Makefile.PL PREFIX=$out";