@@ -51,6 +51,7 @@ minimalConf = StackConfig
51 { _scResolver = StackResolver "lts-10.0"
51 { _scResolver = StackResolver "lts-10.0"
52 , _scPackages = NE.fromList
52 , _scPackages = NE.fromList
53 [ StackPackage (PlFilePath ".") False Nothing]
53 [ StackPackage (PlFilePath ".") False Nothing]
56packageDefaultBs :: ByteString
57packageDefaultBs :: ByteString
@@ -73,10 +74,11 @@ packages:
74packageSimpleListConf :: StackConfig
75packageSimpleListConf :: StackConfig
75packageSimpleListConf = StackConfig
76packageSimpleListConf = StackConfig
76− { _scResolver = StackResolver "lts-10.0"
77+ { _scResolver = StackResolver "lts-10.0"
77− , _scPackages = NE.fromList
78+ , _scPackages = NE.fromList
78 [ StackPackage (PlFilePath "client") False Nothing
79 [ StackPackage (PlFilePath "client") False Nothing
79 , StackPackage (PlFilePath "server") False Nothing ]
80 , StackPackage (PlFilePath "server") False Nothing ]
82packageLocationsBs :: ByteString
84packageLocationsBs :: ByteString
@@ -102,11 +104,12 @@ packages:
103packageLocationsConf :: StackConfig
105packageLocationsConf :: StackConfig
104packageLocationsConf = StackConfig
106packageLocationsConf = StackConfig
105− { _scResolver = StackResolver "lts-10.0"
107+ { _scResolver = StackResolver "lts-10.0"
106− , _scPackages = NE.fromList
108+ , _scPackages = NE.fromList
107 [ StackPackage (PlFilePath "humble/package") False (Just "client")
109 [ StackPackage (PlFilePath "humble/package") False (Just "client")
108− , StackPackage (PlFilePath "humble/package") False (Just "server")
110+ , StackPackage (PlFilePath "humble/package") False (Just "server") ]
109− , StackPackage (PlUri $ stUri "https://example.com/foo/bar/baz-0.0.2.tar.gz") True (Just "extra")
112+ [ StackPackage (PlUri $ stUri "https://example.com/foo/bar/baz-0.0.2.tar.gz") True (Just "extra")
110 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:example/mega-repo" "6a86ee32e5b869a877151f74064572225e1a0000") True (Just "subdir1")
113 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:example/mega-repo" "6a86ee32e5b869a877151f74064572225e1a0000") True (Just "subdir1")
111 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:example/mega-repo" "6a86ee32e5b869a877151f74064572225e1a0000") True (Just "subdir2")
114 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:example/mega-repo" "6a86ee32e5b869a877151f74064572225e1a0000") True (Just "subdir2")
@@ -122,10 +125,10 @@ extra-deps:
123packageExtraDepsConf :: StackConfig
126packageExtraDepsConf :: StackConfig
124packageExtraDepsConf = StackConfig
127packageExtraDepsConf = StackConfig
125− { _scResolver = StackResolver "lts-10.0"
128+ { _scResolver = StackResolver "lts-10.0"
126− , _scPackages = NE.fromList
127− [ StackPackage (PlFilePath ".") False Nothing
129+ , _scPackages = NE.fromList [ StackPackage (PlFilePath ".") False Nothing ]
128− , StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
131+ [ StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
129 , StackPackage (PlIndex $ PackageIndex "humble-package-1" Nothing) True Nothing ]
132 , StackPackage (PlIndex $ PackageIndex "humble-package-1" Nothing) True Nothing ]
@@ -142,11 +145,12 @@ extra-deps:
143packageMixedConf :: StackConfig
146packageMixedConf :: StackConfig
144packageMixedConf = StackConfig
147packageMixedConf = StackConfig
145− { _scResolver = StackResolver "lts-10.0"
148+ { _scResolver = StackResolver "lts-10.0"
146− , _scPackages = NE.fromList
149+ , _scPackages = NE.fromList
147 [ StackPackage (PlFilePath "client") False Nothing
150 [ StackPackage (PlFilePath "client") False Nothing
148− , StackPackage (PlFilePath "server") False Nothing
151+ , StackPackage (PlFilePath "server") False Nothing ]
149− , StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
153+ [ StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
150 , StackPackage (PlIndex $ PackageIndex "humble-package-1" Nothing) True Nothing ]
154 , StackPackage (PlIndex $ PackageIndex "humble-package-1" Nothing) True Nothing ]
@@ -172,10 +176,10 @@ extra-deps:
173packageExtraDepsNewConf :: StackConfig
177packageExtraDepsNewConf :: StackConfig
174packageExtraDepsNewConf = StackConfig
178packageExtraDepsNewConf = StackConfig
175− { _scResolver = StackResolver "lts-10.0"
179+ { _scResolver = StackResolver "lts-10.0"
176− , _scPackages = NE.fromList
177− [ StackPackage (PlFilePath ".") False Nothing
180+ , _scPackages = NE.fromList [ StackPackage (PlFilePath ".") False Nothing ]
178− , StackPackage (PlFilePath "vendor/lib") True Nothing
182+ [ StackPackage (PlFilePath "vendor/lib") True Nothing
179 , StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
183 , StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
180 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:yesodweb/wai" "2f8a8e1b771829f4a8a77c0111352ce45a14c30f") True (Just "auto-update")
184 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:yesodweb/wai" "2f8a8e1b771829f4a8a77c0111352ce45a14c30f") True (Just "auto-update")
181 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:yesodweb/wai" "2f8a8e1b771829f4a8a77c0111352ce45a14c30f") True (Just "wai")
185 , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:yesodweb/wai" "2f8a8e1b771829f4a8a77c0111352ce45a14c30f") True (Just "wai")