2023-01-14 13:00:32 +00:00
|
|
|
packages: ./ghcup.cabal
|
|
|
|
|
|
|
|
optional-packages: ./vendored/*/*.cabal
|
|
|
|
|
|
|
|
optimization: 2
|
|
|
|
|
2023-11-05 09:29:20 +00:00
|
|
|
package ghcup
|
2024-01-02 16:32:23 +00:00
|
|
|
flags: +tui -tar
|
2023-11-05 09:29:20 +00:00
|
|
|
|
2023-01-14 13:00:32 +00:00
|
|
|
if os(linux)
|
|
|
|
if arch(x86_64) || arch(i386)
|
|
|
|
package *
|
|
|
|
ghc-options: -split-sections -optl-static
|
|
|
|
elif os(darwin)
|
|
|
|
constraints: zlib +bundled-c-zlib,
|
|
|
|
lzma +static
|
|
|
|
elif os(mingw32)
|
|
|
|
constraints: zlib +bundled-c-zlib,
|
|
|
|
lzma +static,
|
2023-11-06 09:35:20 +00:00
|
|
|
text -simdutf,
|
2024-01-21 05:49:55 +00:00
|
|
|
vty-windows >=0.1.0.3
|
|
|
|
if impl(ghc >= 9.4)
|
|
|
|
constraints: language-c >= 0.9.3
|
2023-01-14 13:00:32 +00:00
|
|
|
elif os(freebsd)
|
|
|
|
constraints: zlib +bundled-c-zlib,
|
|
|
|
zip +disable-zstd
|
|
|
|
package *
|
2024-02-09 13:36:53 +00:00
|
|
|
ghc-options: -split-sections
|
2023-01-14 13:00:32 +00:00
|
|
|
|
|
|
|
constraints: http-io-streams -brotli,
|
|
|
|
any.aeson >= 2.0.1.0,
|
2024-02-18 12:11:56 +00:00
|
|
|
any.hsc2hs ==0.68.8,
|
2024-03-08 13:46:13 +00:00
|
|
|
bzlib-conduit >= 0.3.0.3,
|
|
|
|
bz2 >= 1.0.1.1,
|
|
|
|
bzlib >= 0.5.2.0
|
2024-02-18 12:11:56 +00:00
|
|
|
directory >= 1.3.8.3,
|
|
|
|
filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0
|
2023-01-14 13:00:32 +00:00
|
|
|
|
|
|
|
package libarchive
|
|
|
|
flags: -system-libarchive
|
|
|
|
|
|
|
|
package aeson-pretty
|
|
|
|
flags: +lib-only
|
|
|
|
|
|
|
|
package cabal-plan
|
|
|
|
flags: -exe
|
|
|
|
|
|
|
|
package aeson
|
|
|
|
flags: +ordered-keymap
|
|
|
|
|
|
|
|
package streamly
|
|
|
|
flags: +use-unliftio
|
|
|
|
|
2024-01-20 09:43:12 +00:00
|
|
|
source-repository-package
|
|
|
|
type: git
|
|
|
|
location: https://github.com/haskell/tar.git
|
|
|
|
tag: d94a988be4311b830149a9f8fc16739927e5fc1c
|
|
|
|
|
|
|
|
source-repository-package
|
|
|
|
type: git
|
|
|
|
location: https://github.com/hasufell/uri-bytestring.git
|
|
|
|
tag: 4fb5ed14b500c192e6e7a97f6b2b1eb478806001
|
|
|
|
|
2024-02-18 12:11:56 +00:00
|
|
|
allow-newer: cabal-install-parsers:tar, streamly:Win32
|
2024-01-20 09:58:04 +00:00
|
|
|
|