@@ -69,13 +69,18 @@ extra-deps:
72+ - archive: http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip
76+ - archive: ../acme-missiles-0.3.tar.gz
77+ sha256: e563d8b524017a06b32768c4db8eff1f822f3fb22a90320b7e414402647b735b
75configMinimal :: Config
80configMinimal :: Config
76configMinimal = Config
81configMinimal = Config
77 { _cResolver = "lts-8.15"
82 { _cResolver = "lts-8.15"
78− , _cPackages = Just [ Simple "." ]
83+ , _cPackages = Just [ PSimple "." ]
79 , _cExtraDeps = Nothing
84 , _cExtraDeps = Nothing
@@ -83,46 +88,46 @@ config :: Config
83config = Config
88config = Config
84 { _cResolver = "lts-3.7"
89 { _cResolver = "lts-3.7"
85 , _cPackages = Just
90 , _cPackages = Just
86− [ Simple "."
91+ [ PSimple "."
87− , LocationSimple (Location "dir1/dir2" Nothing Nothing)
92+ , PLocationSimple (Location "dir1/dir2" Nothing Nothing)
88− , LocationSimple (Location "https://example.com/foo/bar/baz-0.0.2.tar.gz" (Just True) Nothing)
93+ , PLocationSimple (Location "https://example.com/foo/bar/baz-0.0.2.tar.gz" (Just True) Nothing)
89− , LocationGit $ Location
94+ , PLocationGit $ Location
91 "git@github.com:commercialhaskell/stack.git"
96 "git@github.com:commercialhaskell/stack.git"
92 "6a86ee32e5b869a877151f74064572225e1a0398")
97 "6a86ee32e5b869a877151f74064572225e1a0398")
93 Nothing Nothing
98 Nothing Nothing
94− , LocationGit (Location
99+ , PLocationGit (Location
96 "git@github.com:example/mega-repo"
101 "git@github.com:example/mega-repo"
97 "6a86ee32e5b869a877151f74064572225e1a0000")
102 "6a86ee32e5b869a877151f74064572225e1a0000")
98 Nothing (Just ["subdir1", "subdir2"]))
103 Nothing (Just ["subdir1", "subdir2"]))
100 , _cExtraDeps = Just
105 , _cExtraDeps = Just
101− [Simple "acme-missiles-0.3"]
106+ [PSimple "acme-missiles-0.3"]
104configNew :: Config
109configNew :: Config
105configNew = Config
110configNew = Config
106 { _cResolver = "lts-3.7"
111 { _cResolver = "lts-3.7"
107 , _cPackages = Just
112 , _cPackages = Just
108− [ Simple "."
113+ [ PSimple "."
109− , LocationSimple (Location "dir1/dir2" Nothing Nothing)
114+ , PLocationSimple (Location "dir1/dir2" Nothing Nothing)
110− , LocationSimple (Location "https://example.com/foo/bar/baz-0.0.2.tar.gz" (Just True) Nothing)
115+ , PLocationSimple (Location "https://example.com/foo/bar/baz-0.0.2.tar.gz" (Just True) Nothing)
111− , LocationGit $ Location
116+ , PLocationGit $ Location
113 "git@github.com:commercialhaskell/stack.git"
118 "git@github.com:commercialhaskell/stack.git"
114 "6a86ee32e5b869a877151f74064572225e1a0398")
119 "6a86ee32e5b869a877151f74064572225e1a0398")
115 Nothing Nothing
120 Nothing Nothing
116− , LocationGit (Location
121+ , PLocationGit (Location
118 "git@github.com:example/mega-repo"
123 "git@github.com:example/mega-repo"
119 "6a86ee32e5b869a877151f74064572225e1a0000")
124 "6a86ee32e5b869a877151f74064572225e1a0000")
120 Nothing (Just ["subdir1", "subdir2"]))
125 Nothing (Just ["subdir1", "subdir2"]))
122 , _cExtraDeps = Just
127 , _cExtraDeps = Just
123− [ Simple "acme-missiles-0.3"
128+ [ PSimple "acme-missiles-0.3"
124− , Simple "acme-missiles-hash-0.4@sha256:2ba66a092a32593880a87fb00f3213762d7bca65a687d45965778deb8694c5d1"
129+ , PSimple "acme-missiles-hash-0.4@sha256:2ba66a092a32593880a87fb00f3213762d7bca65a687d45965778deb8694c5d1"
125− , Simple "acme-missiles-rev-0.5@rev:0"
130+ , PSimple "acme-missiles-rev-0.5@rev:0"
126 , PNewGit $ NewGit
131 , PNewGit $ NewGit
127 "git@github.com:commercialhaskell/stack.git"
132 "git@github.com:commercialhaskell/stack.git"
128 "6a86ee32e5b869a877151f74064572225e1a0398"
133 "6a86ee32e5b869a877151f74064572225e1a0398"
@@ -131,6 +136,14 @@ configNew = Config
131 "git@github.com:example/mega-repo"
136 "git@github.com:example/mega-repo"
132 "6a86ee32e5b869a877151f74064572225e1a0000"
137 "6a86ee32e5b869a877151f74064572225e1a0000"
133 (Just ["subdir1", "subdir2"])
138 (Just ["subdir1", "subdir2"])
139+ , PArchive $ Archive
140+ "http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip"
142+ (Just ["wai", "warp"])
143+ , PArchive $ Archive
144+ "../acme-missiles-0.3.tar.gz"
145+ (Just "e563d8b524017a06b32768c4db8eff1f822f3fb22a90320b7e414402647b735b")