git-annex: re-build expression with latest cabal2nix

This commit is contained in:
Peter Simons 2014-09-04 14:42:54 +02:00
parent cce6dd11b6
commit e5878fa70b

View file

@ -35,10 +35,7 @@ cabal.mkDerivation (self: {
]; ];
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ]; buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
configureFlags = "-fAssistant -fProduction"; configureFlags = "-fAssistant -fProduction";
preConfigure = '' preConfigure = "export HOME=$TEMPDIR";
export HOME="$NIX_BUILD_TOP/tmp"
mkdir "$HOME"
'';
installPhase = "./Setup install"; installPhase = "./Setup install";
checkPhase = '' checkPhase = ''
cp dist/build/git-annex/git-annex git-annex cp dist/build/git-annex/git-annex git-annex