git-annex: temporary patch to build the current version

This commit is contained in:
John Wiegley 2014-10-16 17:23:01 -05:00
parent 13b9917298
commit ba22560768

View file

@ -35,7 +35,12 @@ cabal.mkDerivation (self: {
];
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
configureFlags = "-fAssistant -fProduction";
preConfigure = "export HOME=$TEMPDIR";
preConfigure = ''
sed -i 's/Extensions: PackageImports/Extensions: PackageImports, ViewPatterns/' git-annex.cabal
sed -i 's/{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}/{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, OverloadedStrings #-}/' Assistant/Threads/WebApp.hs
export HOME=$TEMPDIR
'';
installPhase = "./Setup install";
checkPhase = ''
cp dist/build/git-annex/git-annex git-annex