This commit is contained in:
Michael Snoyman 2014-11-23 14:07:15 +02:00
parent 3dfe7b4e1d
commit 8bf144a902
2 changed files with 9 additions and 1 deletions

View File

@ -126,6 +126,14 @@ getInstallInfo settings = do
, show now
]
System.IO.UTF8.writeFile (incexc </> "slug") $ concat
[ date
, "-"
, ghcVer
, if requireHaskellPlatform settings then "hp" else ""
, if isInc then "-inc" else "-exc"
]
return ii
biToSPI :: BuildInfo -> SelectedPackageInfo

View File

@ -37,7 +37,7 @@ createHackageFile isInc hp ii ghcVer date hackageH tarballH = do
hPutStr tarballH $ concat
[ "#!/bin/bash -ex\n\ntar czfv "
, stackageFP
, " hackage desc ../build*"
, " hackage desc slug ../build*"
]
indextargz <- getTarballName
indexLBS <- L.readFile indextargz