git-annex: make sure the test suite runs with git-annex-shell in $PATH

This commit is contained in:
Peter Simons 2017-05-14 12:26:08 +02:00
parent 5052ac8d25
commit 5d6c76dd50

View file

@ -74123,9 +74123,13 @@ self: {
bup curl git gnupg lsof openssh perl rsync wget which
];
preConfigure = "export HOME=$TEMPDIR; patchShebangs .";
postBuild = "ln -sf dist/build/git-annex/git-annex git-annex";
installPhase = "make PREFIX=$out BUILDER=: install";
checkPhase = "./git-annex test";
checkPhase = ''
ln -sf dist/build/git-annex/git-annex git-annex
ln -sf git-annex git-annex-shell
export PATH+=":$PWD"
git-annex test
'';
enableSharedExecutables = false;
homepage = "http://git-annex.branchable.com/";
description = "manage files with git, without checking their contents into git";