Skip to content

Commit 31128fa

Browse files
committed
Fix Hpack #530
For the context to this pull request, see see [Hpack issue #530](sol/hpack#530), the [Hpack PR #531](sol/hpack#531) and the alternative [Hpack PR #535](sol/hpack#535) (on which this PR builds). See also [Pantry PR #74](commercialhaskell/pantry#74) (on which this PR builds).
1 parent bb40e56 commit 31128fa

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ dependencies:
9696
- network-uri
9797
- open-browser
9898
- optparse-applicative >= 0.17.0.0
99-
- pantry >= 0.8.0
99+
- pantry >= 0.8.1
100100
- path
101101
- path-io
102102
# In order for Cabal (the tool) to build Stack, it needs to be told of the

src/Stack/Constants.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ import Data.Char ( toUpper )
132132
import Data.FileEmbed ( embedFile, makeRelativeToProject )
133133
import qualified Data.Set as Set
134134
import Distribution.Package ( mkPackageName )
135-
import qualified Hpack.Config as Hpack
135+
import Hpack.Config ( packageConfig )
136136
import qualified Language.Haskell.TH.Syntax as TH ( runIO, lift )
137137
import Path as FL
138138
import Stack.Prelude
@@ -342,7 +342,7 @@ relFileSetupLhs :: Path Rel File
342342
relFileSetupLhs = $(mkRelFile "Setup.lhs")
343343

344344
relFileHpackPackageConfig :: Path Rel File
345-
relFileHpackPackageConfig = $(mkRelFile Hpack.packageConfig)
345+
relFileHpackPackageConfig = $(mkRelFile packageConfig)
346346

347347
relDirGlobalAutogen :: Path Rel Dir
348348
relDirGlobalAutogen = $(mkRelDir "global-autogen")

stack.cabal

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.0
22

3-
-- This file has been generated from package.yaml by hpack version 0.35.0.
3+
-- This file has been generated from package.yaml by hpack version 0.35.1.
44
--
55
-- see: https://github.com/sol/hpack
66

@@ -313,7 +313,7 @@ library
313313
, network-uri
314314
, open-browser
315315
, optparse-applicative >=0.17.0.0
316-
, pantry >=0.8.0
316+
, pantry >=0.8.1
317317
, path
318318
, path-io
319319
, persistent >=2.13.3.5 && <2.14
@@ -437,7 +437,7 @@ executable stack
437437
, network-uri
438438
, open-browser
439439
, optparse-applicative >=0.17.0.0
440-
, pantry >=0.8.0
440+
, pantry >=0.8.1
441441
, path
442442
, path-io
443443
, persistent >=2.13.3.5 && <2.14
@@ -562,7 +562,7 @@ executable stack-integration-test
562562
, open-browser
563563
, optparse-applicative >=0.17.0.0
564564
, optparse-generic
565-
, pantry >=0.8.0
565+
, pantry >=0.8.1
566566
, path
567567
, path-io
568568
, persistent >=2.13.3.5 && <2.14
@@ -692,7 +692,7 @@ test-suite stack-test
692692
, network-uri
693693
, open-browser
694694
, optparse-applicative >=0.17.0.0
695-
, pantry >=0.8.0
695+
, pantry >=0.8.1
696696
, path
697697
, path-io
698698
, persistent >=2.13.3.5 && <2.14

stack.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ packages:
55
- .
66

77
extra-deps:
8-
- pantry-0.8.0@sha256:351a9103c0b1dd78f6b8f243ca4fc6a6952d5ba00f72032b831e5ee0e61dce0f,4099
8+
- hpack-0.35.1@sha256:ef816234cbc7b52b0a6c55f7e904b6bc5292b8dd8f2d81ffcbcbc69ab80d75e5,4762
9+
- pantry-0.8.1@sha256:196111414d2489499fda6213deebcb865bc12285023d5af9bd273bf27cdb185d,4099
910
- rio-prettyprint-0.1.4.0@sha256:1f8eb3ead0ef33d3736d53e1de5e9b2c91a0c207cdca23321bd74c401e85f23a,1301
1011
- fsnotify-0.4.1.0@sha256:44540beabea36aeeef930aa4d5f28091d431904bc9923b6ac4d358831c651235,2854
1112

stack.yaml.lock

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@
55

66
packages:
77
- completed:
8-
hackage: pantry-0.8.0@sha256:351a9103c0b1dd78f6b8f243ca4fc6a6952d5ba00f72032b831e5ee0e61dce0f,4099
8+
hackage: hpack-0.35.1@sha256:ef816234cbc7b52b0a6c55f7e904b6bc5292b8dd8f2d81ffcbcbc69ab80d75e5,4762
99
pantry-tree:
10-
sha256: a5f0a90f33a78e3c92f3c13335f870fe83f20c45296cda9c279042b7c451a310
10+
sha256: 514f0311eff442ab83ef3c2db456857f360ea173c17df133e575f50915e02da0
11+
size: 3675
12+
original:
13+
hackage: hpack-0.35.1@sha256:ef816234cbc7b52b0a6c55f7e904b6bc5292b8dd8f2d81ffcbcbc69ab80d75e5,4762
14+
- completed:
15+
hackage: pantry-0.8.1@sha256:196111414d2489499fda6213deebcb865bc12285023d5af9bd273bf27cdb185d,4099
16+
pantry-tree:
17+
sha256: f7032e124bda7deb3b70b0fc308e9bbe9ba6c81f79b88a1cd0b5b7932f4ab14a
1118
size: 2524
1219
original:
13-
hackage: pantry-0.8.0@sha256:351a9103c0b1dd78f6b8f243ca4fc6a6952d5ba00f72032b831e5ee0e61dce0f,4099
20+
hackage: pantry-0.8.1@sha256:196111414d2489499fda6213deebcb865bc12285023d5af9bd273bf27cdb185d,4099
1421
- completed:
1522
hackage: rio-prettyprint-0.1.4.0@sha256:1f8eb3ead0ef33d3736d53e1de5e9b2c91a0c207cdca23321bd74c401e85f23a,1301
1623
pantry-tree:

0 commit comments

Comments
 (0)