66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
packages: ./ghcup.cabal
|
|
|
|
optional-packages: ./vendored/*/*.cabal
|
|
|
|
optimization: 2
|
|
|
|
package ghcup
|
|
flags: +tui -tar
|
|
|
|
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,
|
|
text -simdutf,
|
|
vty-windows >=0.1.0.3
|
|
if impl(ghc >= 9.4)
|
|
constraints: language-c >= 0.9.3
|
|
elif os(freebsd)
|
|
constraints: zlib +bundled-c-zlib,
|
|
zip +disable-zstd
|
|
package *
|
|
ghc-options: -split-sections
|
|
|
|
constraints: http-io-streams -brotli,
|
|
any.aeson >= 2.0.1.0,
|
|
any.hsc2hs ==0.68.8
|
|
|
|
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
|
|
|
|
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
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasufell/versions.git
|
|
tag: 79e18fbc44fae3064d8957c550cc0229465db320
|
|
|
|
allow-newer: cabal-install-parsers:tar
|
|
|