git-annex: temporary patch to build the current version
This commit is contained in:
parent
13b9917298
commit
ba22560768
@ -35,7 +35,12 @@ 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 = "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";
|
installPhase = "./Setup install";
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cp dist/build/git-annex/git-annex git-annex
|
cp dist/build/git-annex/git-annex git-annex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user