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
-fProduction
-fTDFA";
preConfigure = "patchShebangs .";
installPhase = "./Setup install";
doCheck = false;
checkPhase = ''
installPhase = ''
export HOME="$NIX_BUILD_TOP/tmp"
mkdir "$HOME"
./Setup install
'';
checkPhase = ''
cp dist/build/git-annex/git-annex git-annex
./git-annex test
'';