2022-03-26 09:59:28 +03:00
|
|
|
# stack build plan using GHC 9.0.2
|
|
|
|
|
2023-01-26 07:35:22 +03:00
|
|
|
resolver: lts-19.33
|
2022-03-26 09:59:28 +03:00
|
|
|
|
|
|
|
# for https://gitlab.haskell.org/ghc/ghc/-/issues/20592 on mac m1 (adjust path if needed)
|
|
|
|
extra-include-dirs:
|
|
|
|
- /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/ffi
|
|
|
|
|
|
|
|
packages:
|
|
|
|
- hledger-lib
|
|
|
|
- hledger
|
|
|
|
- hledger-ui
|
|
|
|
- hledger-web
|
|
|
|
|
2022-08-17 17:23:33 +03:00
|
|
|
extra-deps:
|
2024-10-21 12:04:30 +03:00
|
|
|
- base-compat-0.14.0
|
2022-12-23 09:24:54 +03:00
|
|
|
- megaparsec-9.3.0
|
2024-02-29 03:39:53 +03:00
|
|
|
- safe-0.3.21
|
2022-03-26 09:59:28 +03:00
|
|
|
# for hledger-lib:
|
2023-01-27 11:25:24 +03:00
|
|
|
- ansi-terminal-0.11.4
|
2023-01-26 07:35:22 +03:00
|
|
|
- text-ansi-0.2.1
|
|
|
|
- text-builder-0.6.7
|
|
|
|
- text-builder-dev-0.3.3.2
|
|
|
|
- isomorphism-class-0.1.0.7
|
2022-03-26 09:59:28 +03:00
|
|
|
# for hledger:
|
|
|
|
# for hledger-ui:
|
2022-08-17 17:23:33 +03:00
|
|
|
- bimap-0.5.0
|
2024-02-29 01:44:04 +03:00
|
|
|
- brick-2.3.1
|
|
|
|
- vty-6.2
|
|
|
|
- vty-crossplatform-0.4.0.0
|
|
|
|
- vty-unix-0.2.0.0
|
2024-04-18 01:34:07 +03:00
|
|
|
- vty-windows-0.2.0.2
|
2024-02-29 01:44:04 +03:00
|
|
|
- text-zipper-0.13
|
|
|
|
- fsnotify-0.4.1.0
|
2022-03-26 09:59:28 +03:00
|
|
|
# for hledger-web:
|
|
|
|
# for Shake.hs:
|
|
|
|
|
2024-02-29 01:44:04 +03:00
|
|
|
nix:
|
|
|
|
pure: false
|
|
|
|
packages: [perl gmp ncurses zlib]
|
|
|
|
|
2022-12-01 17:45:46 +03:00
|
|
|
# ghc-options:
|
|
|
|
# "$locals": -fplugin Debug.Breakpoint
|
2022-08-23 02:36:31 +03:00
|
|
|
|
2022-03-26 09:59:28 +03:00
|
|
|
# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
|
|
|
|
# apply-ghc-options: everything
|
|
|
|
# rebuild-ghc-options: true
|
|
|
|
# stack build --profile --ghc-options="-fno-prof-auto"
|
|
|
|
|
|
|
|
# tell GHC to write hie files, eg for weeder. Rumoured to be slow.
|
|
|
|
# ghc-options:
|
|
|
|
# "$locals": -fwrite-ide-info
|
|
|
|
|
|
|
|
# ghc-options:
|
|
|
|
# "$locals": -ddump-timings
|
|
|
|
# "$targets": -Werror
|
|
|
|
# "$everything": -O2
|
|
|
|
# some-package: -DSOME_CPP_FLAG
|