Skip to content

Commit 4ce9deb

Browse files
committed
;pkg: stack: drop allow-newer-deps lists, they add more cost than benefit
The default build plan, working on unix, fails on windows because more containers dependers are pulled in on that platform. In general it's hard to discover all the dependers, and that list may change over time. (With cabal, you list dependees instead, which is easier.) So, don't try to restrict the dependers whose bounds can be relaxed; just let it ignore all bounds, while still respecting the versions pinned in extra-deps. This should work most of the time; when not, it will give a compilation error rather than a bounds error.
1 parent 7e54972 commit 4ce9deb

5 files changed

Lines changed: 0 additions & 22 deletions

File tree

stack.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,3 @@ extra-deps:
1919
- aeson-2.3.0.0
2020
- text-iso8601-0.2.0.0
2121
allow-newer: true
22-
allow-newer-deps:
23-
- aeson-pretty
24-
- http-api-data
25-
- persistent
26-
- yesod-test

stack910.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ extra-deps:
1717
- aeson-2.3.0.0
1818
- text-iso8601-0.2.0.0
1919
allow-newer: true
20-
allow-newer-deps:
21-
- aeson-pretty
22-
- http-api-data
23-
- persistent
2420

2521
nix:
2622
pure: false

stack912.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ extra-deps:
1818
- aeson-2.3.0.0
1919
- text-iso8601-0.2.0.0
2020
allow-newer: true
21-
allow-newer-deps:
22-
- aeson-pretty
23-
- http-api-data
24-
- persistent
25-
- yesod-test
2621

2722
nix:
2823
pure: false

stack96.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ extra-deps:
2121
- character-ps-0.1
2222
- text-iso8601-0.2.0.0
2323
allow-newer: true
24-
allow-newer-deps:
25-
- aeson
26-
- aeson-pretty
27-
- persistent
2824

2925
nix:
3026
pure: false

stack98.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ extra-deps:
2020
- attoparsec-aeson-2.2.2.0
2121
- text-iso8601-0.2.0.0
2222
allow-newer: true
23-
allow-newer-deps:
24-
- aeson-pretty
25-
- http-api-data
26-
- persistent
2723

2824
nix:
2925
pure: false

0 commit comments

Comments
 (0)