Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Commit ab8e511

Browse files
committed
merge and website cleanup
1 parent bb5245a commit ab8e511

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

hptool/src/OS/Win.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ getPkgId :: C.HasUnitId pkg => pkg -> String
3434
getPkgId pkg = C.display $ C.installedUnitId pkg
3535
#elif MIN_VERSION_Cabal(1,24,0)
3636
getPkgId :: C.HasUnitId pkg => pkg -> String
37-
getPkgId pkg = case C.installedUnitId pkg of
37+
getPkgId pkg = display (C.installedUnitId pkg) {-case C.installedUnitId pkg of
3838
C.SimpleUnitId (C.ComponentId s) -> s
39+
-}
3940
#else
4041
getPkgId :: C.PackageInstalled pkg => pkg -> String
4142
getPkgId pkg = case C.installedPackageId pkg of

hptool/src/ReleaseFiles.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ archBits :: Arch -> Int
4242
archBits ArchI386 = 32
4343
archBits ArchX86_64 = 64
4444

45-
46-
4745
lin, mac, win :: Bool -> Arch -> Url -> Maybe Hash -> FileInfo
4846
lin isFull a u mh = (DistBinary OsLinux a, u, mh, isFull)
4947
mac isFull a u mh = (DistBinary OsOSX a, u, mh, isFull)

hptool/src/Releases2017.hs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ hp_8_2_1 =
109109
, incLib "call-stack" "0.1.0"
110110
]
111111

112-
-- TO add: binary? semigroups? regexlib? safe? tagsoup? tagged? tasty? optparse-applicative? clock? criterion? reflection?
113112

114113
hp_8_2_2 :: Release
115114
hp_8_2_2 =
@@ -122,4 +121,15 @@ hp_8_2_2 =
122121
and as such, do not carry the same stability guaruntees.
123122
, incGHCLib "ghc-prim" "0.5.1.1"
124123
-}
124+
, incTool "alex" "3.2.3"
125+
, incTool "happy" "1.19.8"
126+
127+
, incTool "hscolour" "1.24.2"
128+
, incLib "HTTP" "4000.3.8"
129+
, incLib "QuickCheck" "2.10.1"
130+
, incLib "scientific" "0.3.5.2"
125131
]
132+
133+
134+
135+
-- TO add: binary? semigroups? regexlib? safe? tagsoup? tagged? tasty? optparse-applicative? clock? criterion? reflection?

hptool/src/Website.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ historyCtx = mkStrContext outerCtx
102102
ctx "hpReleases" = mapListStrContext rlsCtx releasesNewToOld
103103
ctx "ncols" = MuVariable $ length releasesNewToOld + 1
104104
ctx "sections" = MuList
105-
[ sectionCtx "Compiler" [isGhc, not . isLib] False
105+
[ sectionCtx "Compiler" [isGhc, not . isLib, not . isTool] False
106106
, sectionCtx "Core Libraries, provided with GHC" [isGhc, isLib] False
107-
, sectionCtx "Additional Core Platform Libraries" [not . isGhc, isLib] True
107+
, sectionCtx "Additional Core Platform Libraries" [not . isGhc, isLib] True
108108
, sectionCtx "Programs and Tools" [isTool] False
109109
, extendedCtx "Libraries with Full Platform"
110110
]

platform.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export MACOSX_DEPLOYMENT_TARGET=10.7
66

77
set -e
88

9-
HPTOOL=hptool/dist-newstyle/build/hptool-0.1/build/hptool/hptool
9+
HPTOOL=hptool/dist-newstyle/build/x86_64-osx/ghc-8.2.1/hptool-0.1/c/hptool/build/hptool/hptool
1010
HPTOOL_ALT=hptool/.cabal-sandbox/bin/hptool
1111

1212
#if ( cabal sandbox --help >/dev/null 2>&1 ) ; then

0 commit comments

Comments
 (0)