diff options
author | Andrew Cady <d@jerkface.net> | 2019-09-15 07:57:07 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-09-15 07:57:07 -0400 |
commit | 0cc2967d27d9831a9e62933a3db2b829d3cd0249 (patch) | |
tree | d11dd5057a9afa98220207093794f33e3407f429 | |
parent | 2165741a249ce1dc3df5fdb8cae6f0c5522588f7 (diff) |
Putting extra-deps in packages: is no longer supported.
Per http://docs.haskellstack.org/en/stable/yaml_configuration/#packages :
NOTE Beginning with Stack 1.11, Stack has moved over to Pantry for
managing extra-deps, and has removed some legacy syntax for specifying
dependencies in packages.
-rwxr-xr-x | yamlremote | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -1,5 +1,4 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | extra_dep=y | ||
3 | keep_orig_line=y | 2 | keep_orig_line=y |
4 | 3 | ||
5 | main() | 4 | main() |
@@ -51,14 +50,11 @@ output() | |||
51 | cat_ <<EOF | 50 | cat_ <<EOF |
52 | ${keep_orig_line:+ | 51 | ${keep_orig_line:+ |
53 | # $orig_line} | 52 | # $orig_line} |
54 | - location: | 53 | - git: $git_url |
55 | git: $git_url | 54 | commit: $git_hash |
56 | commit: $git_hash | ||
57 | ${subdir:+ | 55 | ${subdir:+ |
58 | subdirs: | 56 | subdirs: |
59 | - $subdir} | 57 | - $subdir} |
60 | ${extra_dep:+ | ||
61 | extra-dep: true} | ||
62 | EOF | 58 | EOF |
63 | } | 59 | } |
64 | 60 | ||