git-annex: fix build some more

This commit is contained in:
Peter Simons 2013-12-23 20:30:39 +01:00
parent c380995686
commit a4462d9a03

View File

@ -42,12 +42,13 @@ cabal.mkDerivation (self: {
-fDNS -fDNS
-fProduction -fProduction
-fTDFA"; -fTDFA";
preConfigure = "patchShebangs .";
installPhase = "./Setup install";
doCheck = false; doCheck = false;
checkPhase = '' installPhase = ''
export HOME="$NIX_BUILD_TOP/tmp" export HOME="$NIX_BUILD_TOP/tmp"
mkdir "$HOME" mkdir "$HOME"
./Setup install
'';
checkPhase = ''
cp dist/build/git-annex/git-annex git-annex cp dist/build/git-annex/git-annex git-annex
./git-annex test ./git-annex test
''; '';