Skip to content

Commit

Permalink
Make pantry a dependency of stack
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Aug 15, 2018
1 parent 74f10c4 commit d56af9b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 29 deletions.
21 changes: 2 additions & 19 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ dependencies:
- network-uri
- open-browser
- optparse-applicative
- pantry
- path
- path-io
- persistent
Expand All @@ -91,18 +92,15 @@ dependencies:
- project-template
- regex-applicative-text
- resourcet
- resource-pool
- retry
- rio
- rio-orphans
- semigroups
- split
- stm
- store
- store-core
- streaming-commons
- tar
- tar-conduit
- template-haskell
- temporary
- text
Expand Down Expand Up @@ -133,16 +131,13 @@ when:
- bindings-uname
- unix
library:
source-dirs:
- src/
- subs/pantry/src
source-dirs: src/
ghc-options:
- -fwarn-identities
generated-exposed-modules:
- Paths_stack
exposed-modules:
- Control.Concurrent.Execute
- Data.Aeson.Extended
- Data.Attoparsec.Args
- Data.Attoparsec.Combinators
- Data.Attoparsec.Interpreter
Expand Down Expand Up @@ -264,18 +259,6 @@ library:
- Text.PrettyPrint.Leijen.Extended
- System.Process.PagerEditor
- System.Terminal
- Pantry
other-modules:
- Pantry.Archive
- Pantry.Hackage
- Pantry.HTTP
- Pantry.Repo
- Pantry.StaticBytes
- Pantry.StaticSHA256
- Pantry.Storage
- Pantry.Tree
- Pantry.Types
- Hackage.Security.Client.Repository.HttpLib.HttpClient
when:
- condition: 'os(windows)'
then:
Expand Down
5 changes: 5 additions & 0 deletions stack-nightly.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
resolver: nightly-2018-08-04

packages:
- .
- subs/pantry
- subs/curator

# docker:
# enable: true
# repo: fpco/stack-full
Expand Down
5 changes: 5 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
resolver: snapshot.yaml

packages:
- .
- subs/pantry
- subs/curator

# docker:
# enable: true
# repo: fpco/stack-full
Expand Down
4 changes: 1 addition & 3 deletions subs/pantry/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ when:
- unix

library:
source-dirs:
- src/
- ../../src/ # FIXME Temporary
source-dirs: src/
exposed-modules:
- Pantry
# FIXME make these exports unnecessary
Expand Down
File renamed without changes.
7 changes: 0 additions & 7 deletions subs/stack.yaml

This file was deleted.

0 comments on commit d56af9b

Please sign in to comment.