mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ikiwiki: fix broken test for gitSupport
This commit is contained in:
parent
667e5581d1
commit
cbed6a640f
@ -57,6 +57,11 @@ stdenv.mkDerivation rec {
|
|||||||
# Without patched plugin shebangs, some tests like t/rst.t fail
|
# Without patched plugin shebangs, some tests like t/rst.t fail
|
||||||
# (with docutilsSupport enabled)
|
# (with docutilsSupport enabled)
|
||||||
patchShebangs plugins/*
|
patchShebangs plugins/*
|
||||||
|
|
||||||
|
# Creating shared git repo fails when running tests in Nix sandbox.
|
||||||
|
# The error is: "fatal: Could not make /tmp/ikiwiki-test-git.2043/repo/branches/ writable by group".
|
||||||
|
# Hopefully, not many people use `ikiwiki-makerepo` to create locally shared repositories these days.
|
||||||
|
substituteInPlace ikiwiki-makerepo --replace "git --bare init --shared" "git --bare init"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = "perl Makefile.PL PREFIX=$out";
|
configurePhase = "perl Makefile.PL PREFIX=$out";
|
||||||
|
Loading…
Reference in New Issue
Block a user