git-annex: fix installation of git-annex-shell

This commit is contained in:
Peter Simons 2013-06-22 15:41:11 +02:00
parent 819dbd2539
commit 01bc9204e0

View File

@ -7,8 +7,8 @@
, monadControl, mtl, network, networkInfo, networkMulticast , monadControl, mtl, network, networkInfo, networkMulticast
, networkProtocolXmpp, openssh, QuickCheck, random, regexTdfa , networkProtocolXmpp, openssh, QuickCheck, random, regexTdfa
, rsync, SafeSemaphore, SHA, stm, text, time, transformers , rsync, SafeSemaphore, SHA, stm, text, time, transformers
, unixCompat, utf8String, uuid, wai, waiLogger, warp, xmlConduit , unixCompat, utf8String, uuid, wai, waiLogger, warp, which
, xmlTypes, yesod, yesodDefault, yesodForm, yesodStatic , xmlConduit, xmlTypes, yesod, yesodDefault, yesodForm, yesodStatic
}: }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
@ -28,7 +28,7 @@ cabal.mkDerivation (self: {
uuid wai waiLogger warp xmlConduit xmlTypes yesod yesodDefault uuid wai waiLogger warp xmlConduit xmlTypes yesod yesodDefault
yesodForm yesodStatic yesodForm yesodStatic
]; ];
buildTools = [ bup curl git gnupg1 lsof openssh rsync ]; buildTools = [ bup curl git gnupg1 lsof openssh rsync which ];
configureFlags = "-fS3 configureFlags = "-fS3
-fWebDAV -fWebDAV
-fInotify -fInotify
@ -41,6 +41,7 @@ cabal.mkDerivation (self: {
-fProduction -fProduction
-fTDFA"; -fTDFA";
preConfigure = "patchShebangs ."; preConfigure = "patchShebangs .";
installPhase = "make PREFIX=$out CABAL=./Setup docs install";
checkPhase = '' checkPhase = ''
export HOME="$NIX_BUILD_TOP/tmp" export HOME="$NIX_BUILD_TOP/tmp"
mkdir "$HOME" mkdir "$HOME"