Skip to content

Commit 1202d1d

Browse files
authored
Merge branch 'master' into stack_ghci_config_flags
2 parents 4f30ffc + c8cc7cc commit 1202d1d

File tree

10 files changed

+37
-28
lines changed

10 files changed

+37
-28
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ about: Report a bug in Stack
55

66
Please follow the steps below for reporting a bug:
77

8-
Make sure that you are using the latest release (currently stack-2.7.1).
8+
Make sure that you are using the latest release (currently stack-2.7.3).
99
See the [upgrade instructions](http://docs.haskellstack.org/en/stable/install_and_upgrade/#upgrade) to upgrade.
1010

1111
Please use the following schema for your bug report:

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Feature Request
33
about: Request a feature be added to Stack, or discuss such a feature
44
---
55

6-
Make sure that you are using the latest release (currently stack-2.7.1).
6+
Make sure that you are using the latest release (currently stack-2.7.3).
77
See the [upgrade instructions](http://docs.haskellstack.org/en/stable/install_and_upgrade/#upgrade) to upgrade.
88

99
Please state as clearly as possible what feature you are recommending,

ChangeLog.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,25 @@
55

66
Release notes:
77

8-
**Changes since v2.7.1:**
8+
**Changes since v2.7.3:**
99

1010
Major changes:
1111

1212
Behavior changes:
1313

1414
Other enhancements:
1515

16-
* `stack upgrade` will download from `haskellstack.org` before trying `github.com`. See
16+
Bug fixes:
17+
18+
19+
## v2.7.3
20+
21+
**Changes since v2.7.1:**
22+
23+
Other enhancements:
24+
25+
* `stack upgrade` will download from `haskellstack.org` before trying
26+
`github.com`. See
1727
[#5288](https://github.com/commercialhaskell/stack/issues/5288)
1828
* `stack upgrade` makes less assumptions about archive format. See
1929
[#5288](https://github.com/commercialhaskell/stack/issues/5288)
@@ -30,7 +40,8 @@ Bug fixes:
3040
[pantry#33](https://github.com/commercialhaskell/pantry/issues/33)
3141
* When building the sanity check for a new GHC install, make sure to clear
3242
`GHC_PACKAGE_PATH`.
33-
* Specifying GHC RTS flags in the `stack.yaml` no longer fails with an error. [#5568](https://github.com/commercialhaskell/stack/pull/5568)
43+
* Specifying GHC RTS flags in the `stack.yaml` no longer fails with an error.
44+
[#5568](https://github.com/commercialhaskell/stack/pull/5568)
3445
* `stack setup` will look in sandboxed directories for executables, not
3546
relying on `findExecutables. See
3647
[GHC issue 20074](https://gitlab.haskell.org/ghc/ghc/-/issues/20074)
@@ -39,6 +50,7 @@ Bug fixes:
3950
* `stack ghci` now uses package flags in `stack.yaml`
4051
[#5434](https://github.com/commercialhaskell/stack/issues/5434)
4152

53+
4254
## v2.7.1
4355

4456
**Changes since v2.5.1.1:**

doc/GUIDE.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ With that out of the way, let's dig a little bit more into these package sets,
450450
also known as *snapshots*. We mentioned the LTS resolvers, and you can get quite a bit of
451451
information about it at [https://www.stackage.org/lts](https://www.stackage.org/lts), including:
452452

453-
* The appropriate resolver value (`resolver: lts-17.9`, as is currently the latest LTS)
453+
* The appropriate resolver value (`resolver: lts-18.3`, as is currently the latest LTS)
454454
* The GHC version used
455455
* A full list of all packages available in this snapshot
456456
* The ability to perform a Hoogle search on the packages in this snapshot
@@ -467,7 +467,7 @@ default as well).
467467

468468
## Resolvers and changing your compiler version
469469

470-
Let's explore package sets a bit further. Instead of lts-17.9, let's change our
470+
Let's explore package sets a bit further. Instead of lts-18.3, let's change our
471471
`stack.yaml` file to use [the latest nightly](https://www.stackage.org/nightly). Right now,
472472
this is currently 2020-03-24 - please see the resolve from the link above to get the latest.
473473

@@ -483,8 +483,8 @@ We can also change resolvers on the command line, which can be useful in a
483483
Continuous Integration (CI) setting, like on Travis. For example:
484484

485485
```
486-
michael@d30748af6d3d:~/helloworld$ stack --resolver lts-17.9 build
487-
Downloaded lts-17.9 build plan.
486+
michael@d30748af6d3d:~/helloworld$ stack --resolver lts-18.3 build
487+
Downloaded lts-18.3 build plan.
488488
# build output ...
489489
```
490490

@@ -1143,7 +1143,7 @@ follows the Unix convention of `--` to separate these, e.g.:
11431143
```
11441144
michael@d30748af6d3d:~$ stack exec --package stm -- echo I installed the stm package via --package stm
11451145
Run from outside a project, using implicit global project config
1146-
Using latest snapshot resolver: lts-17.9
1146+
Using latest snapshot resolver: lts-18.3
11471147
Writing global (non-project-specific) config file to: /home/michael/.stack/global/stack.yaml
11481148
Note: You can change the snapshot via the resolver field there.
11491149
I installed the stm package via --package stm
@@ -1157,6 +1157,10 @@ Flags worth mentioning:
11571157
variable from being set. Some tools — notably cabal-install — do not behave
11581158
well with that variable set.
11591159
1160+
You may also find it convenient to use `stack exec` to launch a subshell (substitute `bash` with your preferred shell) where your compiled executable is available at the front of your `PATH`:
1161+
1162+
stack exec bash
1163+
11601164
## ghci (the repl)
11611165
11621166
GHCi is the interactive GHC environment, a.k.a. the REPL. You *could* access it

doc/build_command.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ of different syntaxes supported for this list:
9696
the local packages." This will result in an error if multiple packages
9797
have a component with the same name. To continue the above example,
9898
`stack build :mytestsuite`.
99-
* Side note: the commonly requested `run` command is not available
100-
because it's a simple combination of `stack build :exename && stack exec exename`
10199

102100
* *directory*, e.g. `stack build foo/bar`, will find all local packages that
103101
exist in the given directory hierarchy and then follow the same procedure as

doc/yaml_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ user's local packages, these dependencies aren't built by default. They only get
4141
built when needed.
4242

4343
Shadowing semantics, described
44-
[here](http://docs.haskellstack.org/en/stable/architecture/#shadowing), are
44+
[here](https://docs.haskellstack.org/en/v1.5.1/architecture/#shadowing), are
4545
applied to your configuration. So, if you add a package to your `packages` list,
4646
it will be used even if you're using a snapshot that specifies a particular
4747
version. Similarly, `extra-deps` will shadow the version specified in the

etc/dockerfiles/arm64.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ USER stack
3030
RUN cd /src && stack build --only-snapshot --test && stack build shake
3131

3232
COPY etc/scripts/release.hs /src
33-
RUN stack script --resolver lts-17.10 --compile /src/release.hs -- --version && cp /src/release /home/stack
33+
RUN stack script --resolver lts-17.15 --compile /src/release.hs -- --version && cp /src/release /home/stack

package.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: stack
2-
version: '2.8.0'
2+
version: '2.7.4'
33
synopsis: The Haskell Tool Stack
44
description: |
55
Please see the documentation at <https://docs.haskellstack.org>
@@ -104,7 +104,6 @@ dependencies:
104104
- primitive
105105
- process
106106
- project-template
107-
- regex-applicative-text
108107
- retry
109108
- rio >= 0.1.18.0
110109
- rio-prettyprint >= 0.1.1.0
@@ -326,6 +325,9 @@ tests:
326325
- raw-strings-qq
327326
- stack
328327
- smallcheck
328+
verbatim: |
329+
build-tool-depends:
330+
hspec-discover:hspec-discover
329331
flags:
330332
static:
331333
description: Pass -static/-pthread to ghc when linking the stack binary.

stack.cabal

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

3-
-- This file has been generated from package.yaml by hpack version 0.33.0.
3+
-- This file has been generated from package.yaml by hpack version 0.34.4.
44
--
55
-- see: https://github.com/sol/hpack
6-
--
7-
-- hash: 4d6bc382d1f25fc7283e144b701061b38a5f10879c44997cfdc0b9f3147ce352
86

97
name: stack
10-
version: 2.8.0
8+
version: 2.7.4
119
synopsis: The Haskell Tool Stack
1210
description: Please see the documentation at <https://docs.haskellstack.org>
1311
for usage information.
@@ -284,7 +282,6 @@ library
284282
, primitive
285283
, process
286284
, project-template
287-
, regex-applicative-text
288285
, retry
289286
, rio >=0.1.18.0
290287
, rio-prettyprint >=0.1.1.0
@@ -408,7 +405,6 @@ executable stack
408405
, primitive
409406
, process
410407
, project-template
411-
, regex-applicative-text
412408
, retry
413409
, rio >=0.1.18.0
414410
, rio-prettyprint >=0.1.1.0
@@ -531,7 +527,6 @@ executable stack-integration-test
531527
, primitive
532528
, process
533529
, project-template
534-
, regex-applicative-text
535530
, retry
536531
, rio >=0.1.18.0
537532
, rio-prettyprint >=0.1.1.0
@@ -660,7 +655,6 @@ test-suite stack-test
660655
, process
661656
, project-template
662657
, raw-strings-qq
663-
, regex-applicative-text
664658
, retry
665659
, rio >=0.1.18.0
666660
, rio-prettyprint >=0.1.1.0
@@ -702,3 +696,5 @@ test-suite stack-test
702696
else
703697
cpp-options: -DSTACK_DEVELOPER_MODE_DEFAULT=False
704698
default-language: Haskell2010
699+
build-tool-depends:
700+
hspec-discover:hspec-discover

stack.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-17.10
1+
resolver: lts-17.15
22

33
packages:
44
- .
@@ -20,9 +20,6 @@ flags:
2020
ghc-options:
2121
"$locals": -fhide-source-paths
2222

23-
extra-deps:
24-
- pantry-0.5.2@rev:0
25-
2623
drop-packages:
2724
# See https://github.com/commercialhaskell/stack/pull/4712
2825
- cabal-install

0 commit comments

Comments
 (0)