From 6801bf9d88c9184564306c8ac1bfe3e8062c54a1 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 16:14:39 +0800 Subject: [PATCH 1/8] Fix 'stack build', fixes #1026 --- stack.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stack.yaml b/stack.yaml index e7021ab..26b3e34 100644 --- a/stack.yaml +++ b/stack.yaml @@ -8,7 +8,8 @@ extra-deps: - Cabal-syntax-3.8.1.0 - Win32-2.14.0.0@sha256:e34af84fec733b5c0c8f052ec39499785e719e2fbbe308983adf26c82ea3704d,5942 - brick-2.1.1@sha256:ff36d64f1027eac17a14a83de053067413accb58b79e5002dce2a79cb8a3dcb3,17385 - - bzlib-0.5.1.0@sha256:197ea0ba028dd1fe274f7601dae58d23607c4760119bf40bc2087720f6734e6c,2288 + - bzip2-clib-1.0.8@sha256:f595d0b797e3990b336a36986e5537e84105d13f01f4cb8b470ef671f75555ee,1139 + - bz2-1.0.1.1@sha256:d21b768c3d41e0cd313beb866dc003a57004ec46b95a6aaf31963603861d1383,3741 - cabal-install-parsers-0.6 - cabal-plan-0.7.3.0 - chs-cabal-0.1.1.1@sha256:e8c8c1bf1dbeec64ad86d67ae6dca1c45afd644d20869546dfdcd03910d3848d,1149 From 65bf155326e9ae79fe1ba4d472869d6f0753c545 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 16:26:28 +0800 Subject: [PATCH 2/8] Add stack.yaml workflow --- .github/workflows/stack.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/stack.yaml diff --git a/.github/workflows/stack.yaml b/.github/workflows/stack.yaml new file mode 100644 index 0000000..6f035bc --- /dev/null +++ b/.github/workflows/stack.yaml @@ -0,0 +1,35 @@ +name: Test stack.yaml + +on: + push: + branches: + - master + tags: + - 'v*' + pull_request: + branches: + - master + schedule: + - cron: '0 2 * * *' + +jobs: + build: + name: Build binary + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macOS-latest, macOS-11, windows-latest, ubuntu-latest] + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + submodules: 'true' + + - name: Run build + run: | + env + ghcup --version + ghcup run -i --stack latest -- stack build + shell: bash + From 89ac09bbe15deec6646766cb9ec93b3434d167dc Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 16:26:40 +0800 Subject: [PATCH 3/8] Add cabal.project workflow --- .github/workflows/cabal.project.yaml | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/cabal.project.yaml diff --git a/.github/workflows/cabal.project.yaml b/.github/workflows/cabal.project.yaml new file mode 100644 index 0000000..0fff3e0 --- /dev/null +++ b/.github/workflows/cabal.project.yaml @@ -0,0 +1,39 @@ +name: Test cabal.project files + +on: + push: + branches: + - master + tags: + - 'v*' + pull_request: + branches: + - master + schedule: + - cron: '0 2 * * *' + +jobs: + build: + name: Build binary + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macOS-latest, macOS-11, windows-latest, ubuntu-latest] + ghc: ["8.10.7", "9.0.2", "9.2.8", "9.4.8"] + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + submodules: 'true' + + - name: Run build + run: | + env + ghcup --version + ghcup run -i --cabal latest -- cabal update + ghcup run -i --cabal latest --ghc ${GHC_VER} -- cabal build --project-file=cabal.ghc${GHC_VER//./}.project + env: + GHC_VER: ${{ matrix.ghc }} + shell: bash + From 18abdbf2d971ceba073a10fea453f43e2aedabf0 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 17:16:29 +0800 Subject: [PATCH 4/8] Fix cabal.project for windows --- cabal.ghc8107.project | 10 ++++++++-- cabal.ghc8107.project.freeze | 13 +++++++------ cabal.ghc902.project | 10 ++++++++-- cabal.ghc902.project.freeze | 13 +++++++------ cabal.ghc928.project | 10 ++++++++-- cabal.ghc928.project.freeze | 16 +++++++++------- cabal.ghc948.project | 10 ++++++++-- cabal.ghc948.project.freeze | 13 +++++++------ cabal.project | 10 ++++++++-- 9 files changed, 70 insertions(+), 35 deletions(-) diff --git a/cabal.ghc8107.project b/cabal.ghc8107.project index 36ef888..ef05b3d 100644 --- a/cabal.ghc8107.project +++ b/cabal.ghc8107.project @@ -11,12 +11,18 @@ else constraints: http-io-streams -brotli, any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, bzlib-conduit >= 0.3.0.3, bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0 + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 if os(mingw32) - constraints: vty-windows >=0.2.0.2 + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 if impl(ghc >= 9.4) constraints: language-c >= 0.9.3 diff --git a/cabal.ghc8107.project.freeze b/cabal.ghc8107.project.freeze index b1d6cd9..8652ed9 100644 --- a/cabal.ghc8107.project.freeze +++ b/cabal.ghc8107.project.freeze @@ -77,7 +77,8 @@ constraints: any.Cabal ==3.10.2.1, any.data-clist ==0.2, any.data-fix ==0.3.2, any.deepseq ==1.4.4.0, - any.directory ==1.3.8.1, + any.directory ==1.3.8.3, + directory -os-string, any.disk-free-space ==0.1.0.1, any.distributive ==0.6.2.1, distributive +semigroups +tagged, @@ -85,7 +86,7 @@ constraints: any.Cabal ==3.10.2.1, dlist -werror, any.exceptions ==0.10.4, any.file-uri ==0.1.0.0, - any.filepath ==1.4.300.1, + any.filepath ==1.4.101.0, filepath -cpphs, any.foldable1-classes-compat ==0.1, foldable1-classes-compat +tagged, @@ -104,7 +105,7 @@ constraints: any.Cabal ==3.10.2.1, any.haskus-utils-types ==1.5.1, any.haskus-utils-variant ==3.3, any.heaps ==0.4, - any.hsc2hs ==0.68.10, + any.hsc2hs ==0.68.8, hsc2hs -in-ghc-tree, any.hspec ==2.10.10, any.hspec-core ==2.10.10, @@ -126,8 +127,8 @@ constraints: any.Cabal ==3.10.2.1, language-c -allwarnings +iecfpextension +usebytestrings, any.libarchive ==3.0.4.2, libarchive -cross -low-memory +no-exe -system-libarchive, - any.libyaml-streamly ==0.2.2, - libyaml-streamly -no-unicode -system-libyaml, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode +system-libyaml, any.lockfree-queue ==0.2.4, any.lukko ==0.1.1.3, lukko +ofd-locking, @@ -256,4 +257,4 @@ constraints: any.Cabal ==3.10.2.1, any.zlib ==0.6.3.0, zlib -bundled-c-zlib -non-blocking-ffi -pkg-config, any.zlib-bindings ==0.1.1.5 -index-state: hackage.haskell.org 2024-03-10T10:13:56Z +index-state: hackage.haskell.org 2024-03-13T09:43:35Z diff --git a/cabal.ghc902.project b/cabal.ghc902.project index 8ca688e..3425000 100644 --- a/cabal.ghc902.project +++ b/cabal.ghc902.project @@ -11,12 +11,18 @@ else constraints: http-io-streams -brotli, any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, bzlib-conduit >= 0.3.0.3, bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0 + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 if os(mingw32) - constraints: vty-windows >=0.2.0.2 + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 if impl(ghc >= 9.4) constraints: language-c >= 0.9.3 diff --git a/cabal.ghc902.project.freeze b/cabal.ghc902.project.freeze index 3e6092a..cd44ea9 100644 --- a/cabal.ghc902.project.freeze +++ b/cabal.ghc902.project.freeze @@ -82,7 +82,8 @@ constraints: any.Cabal ==3.10.2.1, any.deepseq ==1.4.5.0, any.digest ==0.0.2.1, digest -have_arm64_crc32c -have_builtin_prefetch -have_mm_prefetch -have_sse42 -have_strong_getauxval -have_weak_getauxval +pkg-config, - any.directory ==1.3.8.1, + any.directory ==1.3.8.3, + directory -os-string, any.disk-free-space ==0.1.0.1, any.distributive ==0.6.2.1, distributive +semigroups +tagged, @@ -90,7 +91,7 @@ constraints: any.Cabal ==3.10.2.1, dlist -werror, any.exceptions ==0.10.4, any.file-uri ==0.1.0.0, - any.filepath ==1.4.300.1, + any.filepath ==1.4.101.0, filepath -cpphs, any.foldable1-classes-compat ==0.1, foldable1-classes-compat +tagged, @@ -110,7 +111,7 @@ constraints: any.Cabal ==3.10.2.1, any.haskus-utils-types ==1.5.1, any.haskus-utils-variant ==3.3, any.heaps ==0.4, - any.hsc2hs ==0.68.10, + any.hsc2hs ==0.68.8, hsc2hs -in-ghc-tree, any.hspec ==2.10.10, any.hspec-core ==2.10.10, @@ -129,8 +130,8 @@ constraints: any.Cabal ==3.10.2.1, io-streams +network -nointeractivetests +zlib, any.language-c ==0.9.3, language-c -allwarnings +iecfpextension +usebytestrings, - any.libyaml-streamly ==0.2.2, - libyaml-streamly -no-unicode -system-libyaml, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode +system-libyaml, any.lockfree-queue ==0.2.4, any.lukko ==0.1.1.3, lukko +ofd-locking, @@ -269,4 +270,4 @@ constraints: any.Cabal ==3.10.2.1, any.zlib-bindings ==0.1.1.5, any.zstd ==0.1.3.0, zstd +standalone -index-state: hackage.haskell.org 2024-03-10T10:13:56Z +index-state: hackage.haskell.org 2024-03-13T09:43:35Z diff --git a/cabal.ghc928.project b/cabal.ghc928.project index 4cd3076..90c6d84 100644 --- a/cabal.ghc928.project +++ b/cabal.ghc928.project @@ -11,12 +11,18 @@ else constraints: http-io-streams -brotli, any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, bzlib-conduit >= 0.3.0.3, bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0 + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 if os(mingw32) - constraints: vty-windows >=0.2.0.2 + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 if impl(ghc >= 9.4) constraints: language-c >= 0.9.3 diff --git a/cabal.ghc928.project.freeze b/cabal.ghc928.project.freeze index b1f6ab3..2292f93 100644 --- a/cabal.ghc928.project.freeze +++ b/cabal.ghc928.project.freeze @@ -82,7 +82,8 @@ constraints: any.Cabal ==3.10.2.1, any.deepseq ==1.4.6.1, any.digest ==0.0.2.1, digest -have_arm64_crc32c -have_builtin_prefetch -have_mm_prefetch -have_sse42 -have_strong_getauxval -have_weak_getauxval +pkg-config, - any.directory ==1.3.7.1, + any.directory ==1.3.8.3, + directory -os-string, any.disk-free-space ==0.1.0.1, any.distributive ==0.6.2.1, distributive +semigroups +tagged, @@ -90,7 +91,7 @@ constraints: any.Cabal ==3.10.2.1, dlist -werror, any.exceptions ==0.10.4, any.file-uri ==0.1.0.0, - any.filepath ==1.4.300.1, + any.filepath ==1.4.101.0, filepath -cpphs, any.foldable1-classes-compat ==0.1, foldable1-classes-compat +tagged, @@ -110,7 +111,7 @@ constraints: any.Cabal ==3.10.2.1, any.haskus-utils-types ==1.5.1, any.haskus-utils-variant ==3.3, any.heaps ==0.4, - any.hsc2hs ==0.68.10, + any.hsc2hs ==0.68.8, hsc2hs -in-ghc-tree, any.hspec ==2.10.10, any.hspec-core ==2.10.10, @@ -129,8 +130,8 @@ constraints: any.Cabal ==3.10.2.1, io-streams +network -nointeractivetests +zlib, any.language-c ==0.9.3, language-c -allwarnings +iecfpextension +usebytestrings, - any.libyaml-streamly ==0.2.2, - libyaml-streamly -no-unicode -system-libyaml, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode +system-libyaml, any.lockfree-queue ==0.2.4, any.lukko ==0.1.1.3, lukko +ofd-locking, @@ -233,7 +234,8 @@ constraints: any.Cabal ==3.10.2.1, any.typed-process ==0.2.11.1, any.unicode-data ==0.3.1, unicode-data -ucd2haskell, - any.unix ==2.7.2.2, + any.unix ==2.8.5.0, + unix -os-string, any.unix-bytestring ==0.3.7.8, any.unix-compat ==0.7.1, unix-compat -old-time, @@ -268,4 +270,4 @@ constraints: any.Cabal ==3.10.2.1, any.zlib-bindings ==0.1.1.5, any.zstd ==0.1.3.0, zstd +standalone -index-state: hackage.haskell.org 2024-03-10T10:13:56Z +index-state: hackage.haskell.org 2024-03-13T09:43:35Z diff --git a/cabal.ghc948.project b/cabal.ghc948.project index e6650e9..9998bb6 100644 --- a/cabal.ghc948.project +++ b/cabal.ghc948.project @@ -11,12 +11,18 @@ else constraints: http-io-streams -brotli, any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, bzlib-conduit >= 0.3.0.3, bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0 + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 if os(mingw32) - constraints: vty-windows >=0.2.0.2 + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 if impl(ghc >= 9.4) constraints: language-c >= 0.9.3 diff --git a/cabal.ghc948.project.freeze b/cabal.ghc948.project.freeze index 5681201..490afd2 100644 --- a/cabal.ghc948.project.freeze +++ b/cabal.ghc948.project.freeze @@ -81,7 +81,8 @@ constraints: any.Cabal ==3.10.2.1, any.deepseq ==1.4.8.0, any.digest ==0.0.2.1, digest -have_arm64_crc32c -have_builtin_prefetch -have_mm_prefetch -have_sse42 -have_strong_getauxval -have_weak_getauxval +pkg-config, - any.directory ==1.3.8.1, + any.directory ==1.3.8.3, + directory -os-string, any.disk-free-space ==0.1.0.1, any.distributive ==0.6.2.1, distributive +semigroups +tagged, @@ -89,7 +90,7 @@ constraints: any.Cabal ==3.10.2.1, dlist -werror, any.exceptions ==0.10.5, any.file-uri ==0.1.0.0, - any.filepath ==1.4.300.1, + any.filepath ==1.4.101.0, filepath -cpphs, any.foldable1-classes-compat ==0.1, foldable1-classes-compat +tagged, @@ -109,7 +110,7 @@ constraints: any.Cabal ==3.10.2.1, any.haskus-utils-types ==1.5.1, any.haskus-utils-variant ==3.3, any.heaps ==0.4, - any.hsc2hs ==0.68.10, + any.hsc2hs ==0.68.8, hsc2hs -in-ghc-tree, any.hspec ==2.10.10, any.hspec-core ==2.10.10, @@ -128,8 +129,8 @@ constraints: any.Cabal ==3.10.2.1, io-streams +network -nointeractivetests +zlib, any.language-c ==0.9.3, language-c -allwarnings +iecfpextension +usebytestrings, - any.libyaml-streamly ==0.2.2, - libyaml-streamly -no-unicode -system-libyaml, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode +system-libyaml, any.lockfree-queue ==0.2.4, any.lukko ==0.1.1.3, lukko +ofd-locking, @@ -267,4 +268,4 @@ constraints: any.Cabal ==3.10.2.1, any.zlib-bindings ==0.1.1.5, any.zstd ==0.1.3.0, zstd +standalone -index-state: hackage.haskell.org 2024-03-10T10:13:56Z +index-state: hackage.haskell.org 2024-03-13T09:43:35Z diff --git a/cabal.project b/cabal.project index 22dfb07..8e859b2 100644 --- a/cabal.project +++ b/cabal.project @@ -11,12 +11,18 @@ else constraints: http-io-streams -brotli, any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, bzlib-conduit >= 0.3.0.3, bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0 + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 if os(mingw32) - constraints: vty-windows >=0.2.0.2 + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 if impl(ghc >= 9.4) constraints: language-c >= 0.9.3 From 36fb39553db3c9723c9c4be6b58bd291365c8031 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 17:32:38 +0800 Subject: [PATCH 5/8] Fix refreeze --- scripts/dev/refreeze.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dev/refreeze.sh b/scripts/dev/refreeze.sh index 986aabd..b89c645 100755 --- a/scripts/dev/refreeze.sh +++ b/scripts/dev/refreeze.sh @@ -12,7 +12,7 @@ for ghc_ver in "$@" ; do cp cabal.project "${project_file}" case "$(uname -s)" in MSYS*|MINGW*) - cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}" + cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}" -ftui ;; *) cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}" -ftui -finternal-downloader @@ -25,3 +25,4 @@ for ghc_ver in "$@" ; do sed -i -e '/ghcup/d' "${project_file}".freeze done + From a4290909b4bf8594af6ebc6d4895547b64f1df33 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 17:56:01 +0800 Subject: [PATCH 6/8] Use platform specific project files --- cabal.ghc8107.Unix.project | 60 ++++ ...reeze => cabal.ghc8107.Unix.project.freeze | 0 cabal.ghc8107.Win32.project | 60 ++++ cabal.ghc8107.Win32.project.freeze | 245 +++++++++++++++++ cabal.ghc8107.project | 64 +---- cabal.ghc902.Unix.project | 60 ++++ ...freeze => cabal.ghc902.Unix.project.freeze | 0 cabal.ghc902.Win32.project | 61 +++++ cabal.ghc902.Win32.project.freeze | 258 ++++++++++++++++++ cabal.ghc902.project | 64 +---- cabal.ghc928.Unix.project | 60 ++++ ...freeze => cabal.ghc928.Unix.project.freeze | 0 cabal.ghc928.Win32.project | 60 ++++ cabal.ghc928.Win32.project.freeze | 258 ++++++++++++++++++ cabal.ghc928.project | 64 +---- cabal.ghc948.Unix.project | 60 ++++ ...freeze => cabal.ghc948.Unix.project.freeze | 0 cabal.ghc948.Win32.project | 61 +++++ cabal.ghc948.Win32.project.freeze | 256 +++++++++++++++++ cabal.ghc948.project | 64 +---- scripts/dev/refreeze.sh | 25 +- 21 files changed, 1538 insertions(+), 242 deletions(-) create mode 100644 cabal.ghc8107.Unix.project rename cabal.ghc8107.project.freeze => cabal.ghc8107.Unix.project.freeze (100%) create mode 100644 cabal.ghc8107.Win32.project create mode 100644 cabal.ghc8107.Win32.project.freeze create mode 100644 cabal.ghc902.Unix.project rename cabal.ghc902.project.freeze => cabal.ghc902.Unix.project.freeze (100%) create mode 100644 cabal.ghc902.Win32.project create mode 100644 cabal.ghc902.Win32.project.freeze create mode 100644 cabal.ghc928.Unix.project rename cabal.ghc928.project.freeze => cabal.ghc928.Unix.project.freeze (100%) create mode 100644 cabal.ghc928.Win32.project create mode 100644 cabal.ghc928.Win32.project.freeze create mode 100644 cabal.ghc948.Unix.project rename cabal.ghc948.project.freeze => cabal.ghc948.Unix.project.freeze (100%) create mode 100644 cabal.ghc948.Win32.project create mode 100644 cabal.ghc948.Win32.project.freeze diff --git a/cabal.ghc8107.Unix.project b/cabal.ghc8107.Unix.project new file mode 100644 index 0000000..8e859b2 --- /dev/null +++ b/cabal.ghc8107.Unix.project @@ -0,0 +1,60 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + diff --git a/cabal.ghc8107.project.freeze b/cabal.ghc8107.Unix.project.freeze similarity index 100% rename from cabal.ghc8107.project.freeze rename to cabal.ghc8107.Unix.project.freeze diff --git a/cabal.ghc8107.Win32.project b/cabal.ghc8107.Win32.project new file mode 100644 index 0000000..41696b2 --- /dev/null +++ b/cabal.ghc8107.Win32.project @@ -0,0 +1,60 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + diff --git a/cabal.ghc8107.Win32.project.freeze b/cabal.ghc8107.Win32.project.freeze new file mode 100644 index 0000000..558d999 --- /dev/null +++ b/cabal.ghc8107.Win32.project.freeze @@ -0,0 +1,245 @@ +active-repositories: hackage.haskell.org:merge +constraints: any.Cabal ==3.10.2.0 || ==3.10.2.1, + any.Cabal-syntax ==3.10.1.0 || ==3.10.2.0, + any.HUnit ==1.6.2.0, + any.OneTuple ==0.4.1.1, + any.QuickCheck ==2.14.3, + QuickCheck -old-random +templatehaskell, + any.StateVar ==1.2.2, + any.Win32 ==2.6.2.1 || ==2.13.4.0, + any.abstract-deque ==0.3, + abstract-deque -usecas, + any.aeson ==2.2.1.0, + aeson +ordered-keymap, + any.aeson-pretty ==0.8.10, + aeson-pretty +lib-only, + any.alex ==3.5.1.0, + any.ansi-terminal ==1.0.2, + ansi-terminal -example, + any.ansi-terminal-types ==0.11.5, + any.ansi-wl-pprint ==0.6.9, + ansi-wl-pprint -example, + any.array ==0.5.4.0, + any.assoc ==1.1, + assoc +tagged, + any.async ==2.2.5, + async -bench, + any.atomic-primops ==0.8.5, + atomic-primops -debug, + any.attoparsec ==0.14.4, + attoparsec -developer, + any.base ==4.14.3.0, + any.base-compat ==0.13.1, + any.base-orphans ==0.9.1, + any.base16-bytestring ==1.0.2.0, + any.bifunctors ==5.6.1, + bifunctors +tagged, + any.bimap ==0.5.0, + any.binary ==0.8.8.0 || ==0.8.9.1, + any.binary-instances ==1.0.4, + any.binary-orphans ==1.0.4.1, + any.blaze-builder ==0.4.2.3, + any.brick ==2.1.1, + brick -demos, + any.bytestring ==0.10.12.0 || ==0.11.5.3, + any.bz2 ==1.0.1.1, + bz2 -cross +with-bzlib, + any.bzip2-clib ==1.0.8, + any.c2hs ==0.28.8, + c2hs +base3 -regression, + any.cabal-install-parsers ==0.6.1.1, + any.cabal-plan ==0.7.3.0, + cabal-plan -_ -exe -license-report, + any.call-stack ==0.4.0, + any.case-insensitive ==1.2.1.0, + any.casing ==0.1.4.1, + any.chs-cabal ==0.1.1.1, + any.chs-deps ==0.1.0.0, + chs-deps -cross, + any.colour ==2.3.6, + any.comonad ==5.0.8, + comonad +containers +distributive +indexed-traversable, + any.composition-prelude ==3.0.0.2, + composition-prelude -development, + any.config-ini ==0.2.7.0, + config-ini -enable-doctests, + any.containers ==0.6.5.1, + any.contravariant ==1.5.5, + contravariant +semigroups +statevar +tagged, + any.cpphs ==1.20.9.1, + cpphs -old-locale, + any.cryptohash-sha256 ==0.11.102.1, + cryptohash-sha256 -exe +use-cbits, + any.data-array-byte ==0.1.0.1, + any.data-clist ==0.2, + any.data-fix ==0.3.2, + any.deepseq ==1.4.4.0, + any.directory ==1.3.6.0 || ==1.3.8.3, + directory -os-string, + any.disk-free-space ==0.1.0.1, + any.distributive ==0.6.2.1, + distributive +semigroups +tagged, + any.dlist ==1.0, + dlist -werror, + any.exceptions ==0.10.4, + any.file-uri ==0.1.0.0, + any.filepath ==1.4.2.1 || ==1.4.101.0, + filepath -cpphs, + any.foldable1-classes-compat ==0.1, + foldable1-classes-compat +tagged, + any.free ==5.2, + any.fusion-plugin-types ==0.1.0, + any.generic-arbitrary ==0.2.2, + any.generically ==0.1.1, + any.ghc-boot-th ==8.10.7, + any.ghc-prim ==0.6.1, + any.happy ==1.20.1.1, + any.hashable ==1.4.3.0, + hashable +integer-gmp -random-initial-seed, + any.haskell-lexer ==1.1.1, + any.haskus-utils-data ==1.4, + any.haskus-utils-types ==1.5.1, + any.haskus-utils-variant ==3.3, + any.heaps ==0.4, + any.hsc2hs ==0.68.8, + hsc2hs -in-ghc-tree, + any.hspec ==2.10.10, + any.hspec-core ==2.10.10, + any.hspec-discover ==2.10.10, + any.hspec-expectations ==0.8.2, + any.hspec-golden-aeson ==0.9.0.0, + any.indexed-profunctors ==0.1.1.1, + any.indexed-traversable ==0.1.3, + any.indexed-traversable-instances ==0.1.1.2, + any.integer-conversion ==0.1.0.1, + any.integer-gmp ==1.0.3.0, + any.integer-logarithms ==1.0.3.1, + integer-logarithms -check-bounds +integer-gmp, + any.language-c ==0.9.3, + language-c -allwarnings +iecfpextension +usebytestrings, + any.libarchive ==3.0.4.2, + libarchive -cross -low-memory +no-exe -system-libarchive, + any.libyaml-clib ==0.2.5, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode -system-libyaml, + any.lockfree-queue ==0.2.4, + any.lukko ==0.1.1.3, + lukko +ofd-locking, + any.lzma-static ==5.2.5.5, + any.megaparsec ==9.2.1, + megaparsec -dev, + any.microlens ==0.4.13.1, + any.microlens-mtl ==0.2.0.3, + any.microlens-th ==0.4.3.14, + any.mtl ==2.2.2, + any.mtl-compat ==0.2.2, + mtl-compat -two-point-one -two-point-two, + any.network ==3.1.4.0, + network -devel, + any.network-uri ==2.6.4.2, + any.optics ==0.4.2.1, + any.optics-core ==0.4.1.1, + optics-core -explicit-generic-labels, + any.optics-extra ==0.4.2.1, + any.optics-th ==0.4.1, + any.optparse-applicative ==0.17.1.0, + optparse-applicative +process, + any.os-release ==1.0.2.1, + os-release -devel, + any.parsec ==3.1.14.0 || ==3.1.17.0, + any.parser-combinators ==1.3.0, + parser-combinators -dev, + any.polyparse ==1.13, + any.pretty ==1.1.3.6, + any.pretty-terminal ==0.1.0.0, + any.primitive ==0.8.0.0, + any.process ==1.6.13.2 || ==1.6.18.0, + any.profunctors ==5.6.2, + any.quickcheck-arbitrary-adt ==0.3.1.0, + any.quickcheck-io ==0.2.0, + any.random ==1.2.1.2, + any.recursion-schemes ==5.2.2.5, + recursion-schemes +template-haskell, + any.regex-base ==0.94.0.2, + any.regex-posix ==0.96.0.1, + regex-posix -_regex-posix-clib, + any.regex-posix-clib ==2.7, + any.resourcet ==1.2.6, + any.retry ==0.9.3.1, + retry -lib-werror, + any.rts ==1.0.1, + any.safe ==0.3.21, + any.safe-exceptions ==0.1.7.4, + any.scientific ==0.3.7.0, + scientific -bytestring-builder -integer-simple, + any.semialign ==1.3, + semialign +semigroupoids, + any.semigroupoids ==6.0.0.1, + semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers, + any.setenv ==0.1.1.3, + any.split ==0.2.5, + any.splitmix ==0.1.0.5, + splitmix -optimised-mixer, + any.stm ==2.5.0.1, + any.streamly ==0.8.3, + streamly -debug -dev -fusion-plugin -has-llvm -inspection -limit-build-mem -no-fusion +opt -streamk -streamly-core -use-c-malloc +use-unliftio, + any.strict ==0.5, + any.strict-base ==0.4.0.0, + any.tagged ==0.8.8, + tagged +deepseq +transformers, + any.tagsoup ==0.14.8, + any.tar ==0.6.0.0, + any.tasty ==1.5, + tasty +unix, + any.tasty-hunit ==0.10.1, + any.template-haskell ==2.16.0.0, + any.temporary ==1.3, + any.text ==1.2.4.1 || ==2.0.2, + text -developer -simdutf, + any.text-binary ==0.2.1.1, + any.text-iso8601 ==0.1, + any.text-short ==0.1.5, + text-short -asserts, + any.text-zipper ==0.13, + any.tf-random ==0.5, + any.th-abstraction ==0.6.0.0, + any.th-compat ==0.1.4, + any.th-lift ==0.8.4, + any.th-lift-instances ==0.1.20, + any.these ==1.2, + any.time ==1.9.3 || ==1.11.1.2, + any.time-compat ==1.9.6.1, + time-compat -old-locale, + any.transformers ==0.5.6.2, + any.transformers-base ==0.4.6, + transformers-base +orphaninstances, + any.transformers-compat ==0.7.2, + transformers-compat -five +five-three -four +generic-deriving +mtl -three -two, + any.unicode-data ==0.3.1, + unicode-data -ucd2haskell, + any.unix-compat ==0.7.1, + unix-compat -old-time, + any.unliftio-core ==0.2.1.0, + any.unordered-containers ==0.2.20, + unordered-containers -debug, + any.uri-bytestring ==0.3.3.1, + uri-bytestring -lib-werror, + any.utf8-string ==1.0.2, + any.uuid-types ==1.0.5.1, + any.vector ==0.13.1.0, + vector +boundschecks -internalchecks -unsafechecks -wall, + any.vector-binary-instances ==0.2.5.2, + any.vector-stream ==0.1.0.1, + any.versions ==6.0.6, + any.vty ==6.2, + any.vty-crossplatform ==0.4.0.0, + vty-crossplatform -demos, + any.vty-windows ==0.2.0.2, + any.witherable ==0.4.2, + any.word-wrap ==0.5, + any.word8 ==0.1.3, + any.yaml-streamly ==0.12.4, + yaml-streamly +no-examples +no-exe, + any.zlib ==0.6.3.0, + zlib +bundled-c-zlib -non-blocking-ffi -pkg-config +index-state: hackage.haskell.org 2024-03-15T23:51:46Z diff --git a/cabal.ghc8107.project b/cabal.ghc8107.project index ef05b3d..bea973e 100644 --- a/cabal.ghc8107.project +++ b/cabal.ghc8107.project @@ -1,62 +1,8 @@ -packages: ./ghcup.cabal - -optional-packages: ./vendored/*/*.cabal - -if impl(ghc < 9.0) - package ghcup - flags: +tui -tar -else - package ghcup - flags: +tui +tar - -constraints: http-io-streams -brotli, - any.aeson >= 2.0.1.0, - any.hsc2hs ==0.68.8, - bzlib-conduit >= 0.3.0.3, - bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0, - directory >= 1.3.8.3, - filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 - if os(mingw32) - constraints: zlib +bundled-c-zlib, - lzma +static, - text -simdutf, - vty-windows >=0.2.0.2 - - if impl(ghc >= 9.4) - constraints: language-c >= 0.9.3 - - -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 - -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 - -package * - test-show-details: direct - -allow-newer: cabal-install-parsers:tar, streamly:Win32 - + import: cabal.ghc8107.Win32.project + import: cabal.ghc8107.Win32.project.freeze +else + import: cabal.ghc8107.Unix.project + import: cabal.ghc8107.Unix.project.freeze with-compiler: ghc-8.10.7 diff --git a/cabal.ghc902.Unix.project b/cabal.ghc902.Unix.project new file mode 100644 index 0000000..8e859b2 --- /dev/null +++ b/cabal.ghc902.Unix.project @@ -0,0 +1,60 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + diff --git a/cabal.ghc902.project.freeze b/cabal.ghc902.Unix.project.freeze similarity index 100% rename from cabal.ghc902.project.freeze rename to cabal.ghc902.Unix.project.freeze diff --git a/cabal.ghc902.Win32.project b/cabal.ghc902.Win32.project new file mode 100644 index 0000000..0f7e8be --- /dev/null +++ b/cabal.ghc902.Win32.project @@ -0,0 +1,61 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + + diff --git a/cabal.ghc902.Win32.project.freeze b/cabal.ghc902.Win32.project.freeze new file mode 100644 index 0000000..abde623 --- /dev/null +++ b/cabal.ghc902.Win32.project.freeze @@ -0,0 +1,258 @@ +active-repositories: hackage.haskell.org:merge +constraints: any.Cabal ==3.10.2.1, + any.Cabal-syntax ==3.10.2.0, + any.HUnit ==1.6.2.0, + any.OneTuple ==0.4.1.1, + any.QuickCheck ==2.14.3, + QuickCheck -old-random +templatehaskell, + any.StateVar ==1.2.2, + any.Win32 ==2.12.0.1 || ==2.13.4.0, + any.abstract-deque ==0.3, + abstract-deque -usecas, + any.aeson ==2.2.1.0, + aeson +ordered-keymap, + any.aeson-pretty ==0.8.10, + aeson-pretty +lib-only, + any.alex ==3.5.1.0, + any.ansi-terminal ==1.0.2, + ansi-terminal -example, + any.ansi-terminal-types ==0.11.5, + any.ansi-wl-pprint ==0.6.9, + ansi-wl-pprint -example, + any.array ==0.5.4.0, + any.assoc ==1.1, + assoc +tagged, + any.async ==2.2.5, + async -bench, + any.atomic-primops ==0.8.5, + atomic-primops -debug, + any.attoparsec ==0.14.4, + attoparsec -developer, + any.base ==4.15.1.0, + any.base-compat ==0.13.1, + any.base-orphans ==0.9.1, + any.base16-bytestring ==1.0.2.0, + any.bifunctors ==5.6.1, + bifunctors +tagged, + any.bimap ==0.5.0, + any.binary ==0.8.9.1, + any.binary-instances ==1.0.4, + any.binary-orphans ==1.0.4.1, + any.bindings-DSL ==1.0.25, + any.bitvec ==1.1.5.0, + bitvec +simd, + any.blaze-builder ==0.4.2.3, + any.brick ==2.1.1, + brick -demos, + any.bytestring ==0.11.5.3, + any.bz2 ==1.0.1.1, + bz2 -cross +with-bzlib, + any.bzip2-clib ==1.0.8, + any.bzlib-conduit ==0.3.0.3, + any.c2hs ==0.28.8, + c2hs +base3 -regression, + any.cabal-install-parsers ==0.6.1.1, + any.cabal-plan ==0.7.3.0, + cabal-plan -_ -exe -license-report, + any.call-stack ==0.4.0, + any.case-insensitive ==1.2.1.0, + any.casing ==0.1.4.1, + any.cereal ==0.5.8.3, + cereal -bytestring-builder, + any.colour ==2.3.6, + any.comonad ==5.0.8, + comonad +containers +distributive +indexed-traversable, + any.conduit ==1.3.5, + any.conduit-extra ==1.3.6, + any.conduit-zstd ==0.0.2.0, + any.config-ini ==0.2.7.0, + config-ini -enable-doctests, + any.containers ==0.6.4.1, + any.contravariant ==1.5.5, + contravariant +semigroups +statevar +tagged, + any.cryptohash-sha256 ==0.11.102.1, + cryptohash-sha256 -exe +use-cbits, + any.data-array-byte ==0.1.0.1, + any.data-clist ==0.2, + any.data-default-class ==0.1.2.0, + any.data-fix ==0.3.2, + any.deepseq ==1.4.5.0, + any.digest ==0.0.2.1, + digest -have_arm64_crc32c -have_builtin_prefetch -have_mm_prefetch -have_sse42 -have_strong_getauxval -have_weak_getauxval +pkg-config, + any.directory ==1.3.6.2 || ==1.3.8.3, + directory -os-string, + any.disk-free-space ==0.1.0.1, + any.distributive ==0.6.2.1, + distributive +semigroups +tagged, + any.dlist ==1.0, + dlist -werror, + any.exceptions ==0.10.4, + any.file-uri ==0.1.0.0, + any.filepath ==1.4.2.1 || ==1.4.101.0, + filepath -cpphs, + any.foldable1-classes-compat ==0.1, + foldable1-classes-compat +tagged, + any.free ==5.2, + any.fusion-plugin-types ==0.1.0, + any.generic-arbitrary ==0.2.2, + any.generically ==0.1.1, + any.ghc-bignum ==1.1, + any.ghc-boot-th ==9.0.2, + any.ghc-prim ==0.7.0, + any.happy ==1.20.1.1, + any.hashable ==1.4.3.0, + hashable +integer-gmp -random-initial-seed, + any.haskell-lexer ==1.1.1, + any.haskus-utils-data ==1.4, + any.haskus-utils-types ==1.5.1, + any.haskus-utils-variant ==3.3, + any.heaps ==0.4, + any.hsc2hs ==0.68.8, + hsc2hs -in-ghc-tree, + any.hspec ==2.10.10, + any.hspec-core ==2.10.10, + any.hspec-discover ==2.10.10, + any.hspec-expectations ==0.8.2, + any.hspec-golden-aeson ==0.9.0.0, + any.indexed-profunctors ==0.1.1.1, + any.indexed-traversable ==0.1.3, + any.indexed-traversable-instances ==0.1.1.2, + any.integer-conversion ==0.1.0.1, + any.integer-logarithms ==1.0.3.1, + integer-logarithms -check-bounds +integer-gmp, + any.language-c ==0.9.3, + language-c -allwarnings +iecfpextension +usebytestrings, + any.libyaml-clib ==0.2.5, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode -system-libyaml, + any.lockfree-queue ==0.2.4, + any.lukko ==0.1.1.3, + lukko +ofd-locking, + any.lzma-static ==5.2.5.5, + any.megaparsec ==9.2.2, + megaparsec -dev, + any.microlens ==0.4.13.1, + any.microlens-mtl ==0.2.0.3, + any.microlens-th ==0.4.3.14, + any.monad-control ==1.0.3.1, + any.mono-traversable ==1.0.17.0, + any.mtl ==2.2.2, + any.mtl-compat ==0.2.2, + mtl-compat -two-point-one -two-point-two, + any.network ==3.1.4.0, + network -devel, + any.network-uri ==2.6.4.2, + any.optics ==0.4.2.1, + any.optics-core ==0.4.1.1, + optics-core -explicit-generic-labels, + any.optics-extra ==0.4.2.1, + any.optics-th ==0.4.1, + any.optparse-applicative ==0.17.1.0, + optparse-applicative +process, + any.os-release ==1.0.2.1, + os-release -devel, + any.parsec ==3.1.17.0, + any.parser-combinators ==1.3.0, + parser-combinators -dev, + any.pretty ==1.1.3.6, + any.pretty-terminal ==0.1.0.0, + any.primitive ==0.8.0.0, + any.process ==1.6.13.2 || ==1.6.18.0, + any.profunctors ==5.6.2, + any.quickcheck-arbitrary-adt ==0.3.1.0, + any.quickcheck-io ==0.2.0, + any.random ==1.2.1.2, + any.recursion-schemes ==5.2.2.5, + recursion-schemes +template-haskell, + any.regex-base ==0.94.0.2, + any.regex-posix ==0.96.0.1, + regex-posix -_regex-posix-clib, + any.regex-posix-clib ==2.7, + any.resourcet ==1.2.6, + any.retry ==0.9.3.1, + retry -lib-werror, + any.rts ==1.0.2, + any.safe ==0.3.21, + any.safe-exceptions ==0.1.7.4, + any.scientific ==0.3.7.0, + scientific -bytestring-builder -integer-simple, + any.semialign ==1.3, + semialign +semigroupoids, + any.semigroupoids ==6.0.0.1, + semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers, + any.setenv ==0.1.1.3, + any.split ==0.2.5, + any.splitmix ==0.1.0.5, + splitmix -optimised-mixer, + any.stm ==2.5.0.0, + any.streaming-commons ==0.2.2.6, + streaming-commons -use-bytestring-builder, + any.streamly ==0.8.3, + streamly -debug -dev -fusion-plugin -has-llvm -inspection -limit-build-mem -no-fusion +opt -streamk -streamly-core -use-c-malloc +use-unliftio, + any.strict ==0.5, + any.strict-base ==0.4.0.0, + any.tagged ==0.8.8, + tagged +deepseq +transformers, + any.tagsoup ==0.14.8, + any.tar ==0.6.0.0, + any.tasty ==1.5, + tasty +unix, + any.tasty-hunit ==0.10.1, + any.template-haskell ==2.17.0.0, + any.temporary ==1.3, + any.text ==2.0.2, + text -developer -simdutf, + any.text-binary ==0.2.1.1, + any.text-iso8601 ==0.1, + any.text-short ==0.1.5, + text-short -asserts, + any.text-zipper ==0.13, + any.tf-random ==0.5, + any.th-abstraction ==0.6.0.0, + any.th-compat ==0.1.4, + any.th-lift ==0.8.4, + any.th-lift-instances ==0.1.20, + any.these ==1.2, + any.time ==1.9.3 || ==1.11.1.2, + any.time-compat ==1.9.6.1, + time-compat -old-locale, + any.transformers ==0.5.6.2, + any.transformers-base ==0.4.6, + transformers-base +orphaninstances, + any.transformers-compat ==0.7.2, + transformers-compat -five +five-three -four +generic-deriving +mtl -three -two, + any.typed-process ==0.2.11.1, + any.unicode-data ==0.3.1, + unicode-data -ucd2haskell, + any.unix-compat ==0.7.1, + unix-compat -old-time, + any.unliftio-core ==0.2.1.0, + any.unordered-containers ==0.2.20, + unordered-containers -debug, + any.uri-bytestring ==0.3.3.1, + uri-bytestring -lib-werror, + any.utf8-string ==1.0.2, + any.uuid-types ==1.0.5.1, + any.vector ==0.13.1.0, + vector +boundschecks -internalchecks -unsafechecks -wall, + any.vector-algorithms ==0.9.0.1, + vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks, + any.vector-binary-instances ==0.2.5.2, + any.vector-stream ==0.1.0.1, + any.versions ==6.0.6, + any.vty ==6.2, + any.vty-crossplatform ==0.4.0.0, + vty-crossplatform -demos, + any.vty-windows ==0.2.0.2, + any.witherable ==0.4.2, + any.word-wrap ==0.5, + any.word8 ==0.1.3, + any.yaml-streamly ==0.12.4, + yaml-streamly +no-examples +no-exe, + any.zip ==2.0.0, + zip -dev -disable-bzip2 -disable-zstd, + any.zlib ==0.6.3.0, + zlib +bundled-c-zlib -non-blocking-ffi -pkg-config, + any.zstd ==0.1.3.0, + zstd +standalone +index-state: hackage.haskell.org 2024-03-15T23:51:46Z diff --git a/cabal.ghc902.project b/cabal.ghc902.project index 3425000..059aa41 100644 --- a/cabal.ghc902.project +++ b/cabal.ghc902.project @@ -1,62 +1,8 @@ -packages: ./ghcup.cabal - -optional-packages: ./vendored/*/*.cabal - -if impl(ghc < 9.0) - package ghcup - flags: +tui -tar -else - package ghcup - flags: +tui +tar - -constraints: http-io-streams -brotli, - any.aeson >= 2.0.1.0, - any.hsc2hs ==0.68.8, - bzlib-conduit >= 0.3.0.3, - bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0, - directory >= 1.3.8.3, - filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 - if os(mingw32) - constraints: zlib +bundled-c-zlib, - lzma +static, - text -simdutf, - vty-windows >=0.2.0.2 - - if impl(ghc >= 9.4) - constraints: language-c >= 0.9.3 - - -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 - -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 - -package * - test-show-details: direct - -allow-newer: cabal-install-parsers:tar, streamly:Win32 - + import: cabal.ghc902.Win32.project + import: cabal.ghc902.Win32.project.freeze +else + import: cabal.ghc902.Unix.project + import: cabal.ghc902.Unix.project.freeze with-compiler: ghc-9.0.2 diff --git a/cabal.ghc928.Unix.project b/cabal.ghc928.Unix.project new file mode 100644 index 0000000..8e859b2 --- /dev/null +++ b/cabal.ghc928.Unix.project @@ -0,0 +1,60 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + diff --git a/cabal.ghc928.project.freeze b/cabal.ghc928.Unix.project.freeze similarity index 100% rename from cabal.ghc928.project.freeze rename to cabal.ghc928.Unix.project.freeze diff --git a/cabal.ghc928.Win32.project b/cabal.ghc928.Win32.project new file mode 100644 index 0000000..41696b2 --- /dev/null +++ b/cabal.ghc928.Win32.project @@ -0,0 +1,60 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + diff --git a/cabal.ghc928.Win32.project.freeze b/cabal.ghc928.Win32.project.freeze new file mode 100644 index 0000000..a01ae44 --- /dev/null +++ b/cabal.ghc928.Win32.project.freeze @@ -0,0 +1,258 @@ +active-repositories: hackage.haskell.org:merge +constraints: any.Cabal ==3.10.2.1, + any.Cabal-syntax ==3.10.2.0, + any.HUnit ==1.6.2.0, + any.OneTuple ==0.4.1.1, + any.QuickCheck ==2.14.3, + QuickCheck -old-random +templatehaskell, + any.StateVar ==1.2.2, + any.Win32 ==2.12.0.1 || ==2.13.4.0, + any.abstract-deque ==0.3, + abstract-deque -usecas, + any.aeson ==2.2.1.0, + aeson +ordered-keymap, + any.aeson-pretty ==0.8.10, + aeson-pretty +lib-only, + any.alex ==3.5.1.0, + any.ansi-terminal ==1.0.2, + ansi-terminal -example, + any.ansi-terminal-types ==0.11.5, + any.ansi-wl-pprint ==0.6.9, + ansi-wl-pprint -example, + any.array ==0.5.4.0, + any.assoc ==1.1, + assoc +tagged, + any.async ==2.2.5, + async -bench, + any.atomic-primops ==0.8.5, + atomic-primops -debug, + any.attoparsec ==0.14.4, + attoparsec -developer, + any.base ==4.16.4.0, + any.base-compat ==0.13.1, + any.base-orphans ==0.9.1, + any.base16-bytestring ==1.0.2.0, + any.bifunctors ==5.6.1, + bifunctors +tagged, + any.bimap ==0.5.0, + any.binary ==0.8.9.0, + any.binary-instances ==1.0.4, + any.binary-orphans ==1.0.4.1, + any.bindings-DSL ==1.0.25, + any.bitvec ==1.1.5.0, + bitvec +simd, + any.blaze-builder ==0.4.2.3, + any.brick ==2.1.1, + brick -demos, + any.bytestring ==0.11.4.0, + any.bz2 ==1.0.1.1, + bz2 -cross +with-bzlib, + any.bzip2-clib ==1.0.8, + any.bzlib-conduit ==0.3.0.3, + any.c2hs ==0.28.8, + c2hs +base3 -regression, + any.cabal-install-parsers ==0.6.1.1, + any.cabal-plan ==0.7.3.0, + cabal-plan -_ -exe -license-report, + any.call-stack ==0.4.0, + any.case-insensitive ==1.2.1.0, + any.casing ==0.1.4.1, + any.cereal ==0.5.8.3, + cereal -bytestring-builder, + any.colour ==2.3.6, + any.comonad ==5.0.8, + comonad +containers +distributive +indexed-traversable, + any.conduit ==1.3.5, + any.conduit-extra ==1.3.6, + any.conduit-zstd ==0.0.2.0, + any.config-ini ==0.2.7.0, + config-ini -enable-doctests, + any.containers ==0.6.5.1, + any.contravariant ==1.5.5, + contravariant +semigroups +statevar +tagged, + any.cryptohash-sha256 ==0.11.102.1, + cryptohash-sha256 -exe +use-cbits, + any.data-array-byte ==0.1.0.1, + any.data-clist ==0.2, + any.data-default-class ==0.1.2.0, + any.data-fix ==0.3.2, + any.deepseq ==1.4.6.1, + any.digest ==0.0.2.1, + digest -have_arm64_crc32c -have_builtin_prefetch -have_mm_prefetch -have_sse42 -have_strong_getauxval -have_weak_getauxval +pkg-config, + any.directory ==1.3.6.2 || ==1.3.8.3, + directory -os-string, + any.disk-free-space ==0.1.0.1, + any.distributive ==0.6.2.1, + distributive +semigroups +tagged, + any.dlist ==1.0, + dlist -werror, + any.exceptions ==0.10.4, + any.file-uri ==0.1.0.0, + any.filepath ==1.4.2.2 || ==1.4.101.0, + filepath -cpphs, + any.foldable1-classes-compat ==0.1, + foldable1-classes-compat +tagged, + any.free ==5.2, + any.fusion-plugin-types ==0.1.0, + any.generic-arbitrary ==0.2.2, + any.generically ==0.1.1, + any.ghc-bignum ==1.2, + any.ghc-boot-th ==9.2.8, + any.ghc-prim ==0.8.0, + any.happy ==1.20.1.1, + any.hashable ==1.4.3.0, + hashable +integer-gmp -random-initial-seed, + any.haskell-lexer ==1.1.1, + any.haskus-utils-data ==1.4, + any.haskus-utils-types ==1.5.1, + any.haskus-utils-variant ==3.3, + any.heaps ==0.4, + any.hsc2hs ==0.68.8, + hsc2hs -in-ghc-tree, + any.hspec ==2.10.10, + any.hspec-core ==2.10.10, + any.hspec-discover ==2.10.10, + any.hspec-expectations ==0.8.2, + any.hspec-golden-aeson ==0.9.0.0, + any.indexed-profunctors ==0.1.1.1, + any.indexed-traversable ==0.1.3, + any.indexed-traversable-instances ==0.1.1.2, + any.integer-conversion ==0.1.0.1, + any.integer-logarithms ==1.0.3.1, + integer-logarithms -check-bounds +integer-gmp, + any.language-c ==0.9.3, + language-c -allwarnings +iecfpextension +usebytestrings, + any.libyaml-clib ==0.2.5, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode -system-libyaml, + any.lockfree-queue ==0.2.4, + any.lukko ==0.1.1.3, + lukko +ofd-locking, + any.lzma-static ==5.2.5.5, + any.megaparsec ==9.2.2, + megaparsec -dev, + any.microlens ==0.4.13.1, + any.microlens-mtl ==0.2.0.3, + any.microlens-th ==0.4.3.14, + any.monad-control ==1.0.3.1, + any.mono-traversable ==1.0.17.0, + any.mtl ==2.2.2, + any.mtl-compat ==0.2.2, + mtl-compat -two-point-one -two-point-two, + any.network ==3.1.4.0, + network -devel, + any.network-uri ==2.6.4.2, + any.optics ==0.4.2.1, + any.optics-core ==0.4.1.1, + optics-core -explicit-generic-labels, + any.optics-extra ==0.4.2.1, + any.optics-th ==0.4.1, + any.optparse-applicative ==0.17.1.0, + optparse-applicative +process, + any.os-release ==1.0.2.1, + os-release -devel, + any.parsec ==3.1.17.0, + any.parser-combinators ==1.3.0, + parser-combinators -dev, + any.pretty ==1.1.3.6, + any.pretty-terminal ==0.1.0.0, + any.primitive ==0.8.0.0, + any.process ==1.6.16.0 || ==1.6.18.0, + any.profunctors ==5.6.2, + any.quickcheck-arbitrary-adt ==0.3.1.0, + any.quickcheck-io ==0.2.0, + any.random ==1.2.1.2, + any.recursion-schemes ==5.2.2.5, + recursion-schemes +template-haskell, + any.regex-base ==0.94.0.2, + any.regex-posix ==0.96.0.1, + regex-posix -_regex-posix-clib, + any.regex-posix-clib ==2.7, + any.resourcet ==1.2.6, + any.retry ==0.9.3.1, + retry -lib-werror, + any.rts ==1.0.2, + any.safe ==0.3.21, + any.safe-exceptions ==0.1.7.4, + any.scientific ==0.3.7.0, + scientific -bytestring-builder -integer-simple, + any.semialign ==1.3, + semialign +semigroupoids, + any.semigroupoids ==6.0.0.1, + semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers, + any.setenv ==0.1.1.3, + any.split ==0.2.5, + any.splitmix ==0.1.0.5, + splitmix -optimised-mixer, + any.stm ==2.5.0.2, + any.streaming-commons ==0.2.2.6, + streaming-commons -use-bytestring-builder, + any.streamly ==0.8.3, + streamly -debug -dev -fusion-plugin -has-llvm -inspection -limit-build-mem -no-fusion +opt -streamk -streamly-core -use-c-malloc +use-unliftio, + any.strict ==0.5, + any.strict-base ==0.4.0.0, + any.tagged ==0.8.8, + tagged +deepseq +transformers, + any.tagsoup ==0.14.8, + any.tar ==0.6.0.0, + any.tasty ==1.5, + tasty +unix, + any.tasty-hunit ==0.10.1, + any.template-haskell ==2.18.0.0, + any.temporary ==1.3, + any.text ==2.0.2, + text -developer -simdutf, + any.text-binary ==0.2.1.1, + any.text-iso8601 ==0.1, + any.text-short ==0.1.5, + text-short -asserts, + any.text-zipper ==0.13, + any.tf-random ==0.5, + any.th-abstraction ==0.6.0.0, + any.th-compat ==0.1.4, + any.th-lift ==0.8.4, + any.th-lift-instances ==0.1.20, + any.these ==1.2, + any.time ==1.11.1.1 || ==1.11.1.2, + any.time-compat ==1.9.6.1, + time-compat -old-locale, + any.transformers ==0.5.6.2, + any.transformers-base ==0.4.6, + transformers-base +orphaninstances, + any.transformers-compat ==0.7.2, + transformers-compat -five +five-three -four +generic-deriving +mtl -three -two, + any.typed-process ==0.2.11.1, + any.unicode-data ==0.3.1, + unicode-data -ucd2haskell, + any.unix-compat ==0.7.1, + unix-compat -old-time, + any.unliftio-core ==0.2.1.0, + any.unordered-containers ==0.2.20, + unordered-containers -debug, + any.uri-bytestring ==0.3.3.1, + uri-bytestring -lib-werror, + any.utf8-string ==1.0.2, + any.uuid-types ==1.0.5.1, + any.vector ==0.13.1.0, + vector +boundschecks -internalchecks -unsafechecks -wall, + any.vector-algorithms ==0.9.0.1, + vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks, + any.vector-binary-instances ==0.2.5.2, + any.vector-stream ==0.1.0.1, + any.versions ==6.0.6, + any.vty ==6.2, + any.vty-crossplatform ==0.4.0.0, + vty-crossplatform -demos, + any.vty-windows ==0.2.0.2, + any.witherable ==0.4.2, + any.word-wrap ==0.5, + any.word8 ==0.1.3, + any.yaml-streamly ==0.12.4, + yaml-streamly +no-examples +no-exe, + any.zip ==2.0.0, + zip -dev -disable-bzip2 -disable-zstd, + any.zlib ==0.6.3.0, + zlib +bundled-c-zlib -non-blocking-ffi -pkg-config, + any.zstd ==0.1.3.0, + zstd +standalone +index-state: hackage.haskell.org 2024-03-15T23:51:46Z diff --git a/cabal.ghc928.project b/cabal.ghc928.project index 90c6d84..16abacc 100644 --- a/cabal.ghc928.project +++ b/cabal.ghc928.project @@ -1,62 +1,8 @@ -packages: ./ghcup.cabal - -optional-packages: ./vendored/*/*.cabal - -if impl(ghc < 9.0) - package ghcup - flags: +tui -tar -else - package ghcup - flags: +tui +tar - -constraints: http-io-streams -brotli, - any.aeson >= 2.0.1.0, - any.hsc2hs ==0.68.8, - bzlib-conduit >= 0.3.0.3, - bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0, - directory >= 1.3.8.3, - filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 - if os(mingw32) - constraints: zlib +bundled-c-zlib, - lzma +static, - text -simdutf, - vty-windows >=0.2.0.2 - - if impl(ghc >= 9.4) - constraints: language-c >= 0.9.3 - - -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 - -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 - -package * - test-show-details: direct - -allow-newer: cabal-install-parsers:tar, streamly:Win32 - + import: cabal.ghc928.Win32.project + import: cabal.ghc928.Win32.project.freeze +else + import: cabal.ghc928.Unix.project + import: cabal.ghc928.Unix.project.freeze with-compiler: ghc-9.2.8 diff --git a/cabal.ghc948.Unix.project b/cabal.ghc948.Unix.project new file mode 100644 index 0000000..8e859b2 --- /dev/null +++ b/cabal.ghc948.Unix.project @@ -0,0 +1,60 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + diff --git a/cabal.ghc948.project.freeze b/cabal.ghc948.Unix.project.freeze similarity index 100% rename from cabal.ghc948.project.freeze rename to cabal.ghc948.Unix.project.freeze diff --git a/cabal.ghc948.Win32.project b/cabal.ghc948.Win32.project new file mode 100644 index 0000000..0f7e8be --- /dev/null +++ b/cabal.ghc948.Win32.project @@ -0,0 +1,61 @@ +packages: ./ghcup.cabal + +optional-packages: ./vendored/*/*.cabal + +if impl(ghc < 9.0) + package ghcup + flags: +tui -tar +else + package ghcup + flags: +tui +tar + +constraints: http-io-streams -brotli, + any.aeson >= 2.0.1.0, + any.hsc2hs ==0.68.8, + bzlib-conduit >= 0.3.0.3, + bz2 >= 1.0.1.1, + bzlib >= 0.5.2.0, + directory >= 1.3.8.3, + filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 + +if os(mingw32) + constraints: zlib +bundled-c-zlib, + lzma +static, + text -simdutf, + vty-windows >=0.2.0.2 + + if impl(ghc >= 9.4) + constraints: language-c >= 0.9.3 + + +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 + +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 + +package * + test-show-details: direct + +allow-newer: cabal-install-parsers:tar, streamly:Win32 + + diff --git a/cabal.ghc948.Win32.project.freeze b/cabal.ghc948.Win32.project.freeze new file mode 100644 index 0000000..b7adeb2 --- /dev/null +++ b/cabal.ghc948.Win32.project.freeze @@ -0,0 +1,256 @@ +active-repositories: hackage.haskell.org:merge +constraints: any.Cabal ==3.10.2.1, + any.Cabal-syntax ==3.10.2.0, + any.HUnit ==1.6.2.0, + any.OneTuple ==0.4.1.1, + any.QuickCheck ==2.14.3, + QuickCheck -old-random +templatehaskell, + any.StateVar ==1.2.2, + any.Win32 ==2.12.0.1 || ==2.13.4.0, + any.abstract-deque ==0.3, + abstract-deque -usecas, + any.aeson ==2.2.1.0, + aeson +ordered-keymap, + any.aeson-pretty ==0.8.10, + aeson-pretty +lib-only, + any.alex ==3.5.1.0, + any.ansi-terminal ==1.0.2, + ansi-terminal -example, + any.ansi-terminal-types ==0.11.5, + any.ansi-wl-pprint ==0.6.9, + ansi-wl-pprint -example, + any.array ==0.5.4.0, + any.assoc ==1.1, + assoc +tagged, + any.async ==2.2.5, + async -bench, + any.atomic-primops ==0.8.5, + atomic-primops -debug, + any.attoparsec ==0.14.4, + attoparsec -developer, + any.base ==4.17.2.1, + any.base-compat ==0.13.1, + any.base-orphans ==0.9.1, + any.base16-bytestring ==1.0.2.0, + any.bifunctors ==5.6.1, + bifunctors +tagged, + any.bimap ==0.5.0, + any.binary ==0.8.9.1, + any.binary-instances ==1.0.4, + any.binary-orphans ==1.0.4.1, + any.bindings-DSL ==1.0.25, + any.bitvec ==1.1.5.0, + bitvec +simd, + any.blaze-builder ==0.4.2.3, + any.brick ==2.1.1, + brick -demos, + any.bytestring ==0.11.5.3, + any.bz2 ==1.0.1.1, + bz2 -cross +with-bzlib, + any.bzip2-clib ==1.0.8, + any.bzlib-conduit ==0.3.0.3, + any.c2hs ==0.28.8, + c2hs +base3 -regression, + any.cabal-install-parsers ==0.6.1.1, + any.cabal-plan ==0.7.3.0, + cabal-plan -_ -exe -license-report, + any.call-stack ==0.4.0, + any.case-insensitive ==1.2.1.0, + any.casing ==0.1.4.1, + any.cereal ==0.5.8.3, + cereal -bytestring-builder, + any.colour ==2.3.6, + any.comonad ==5.0.8, + comonad +containers +distributive +indexed-traversable, + any.conduit ==1.3.5, + any.conduit-extra ==1.3.6, + any.conduit-zstd ==0.0.2.0, + any.config-ini ==0.2.7.0, + config-ini -enable-doctests, + any.containers ==0.6.7, + any.contravariant ==1.5.5, + contravariant +semigroups +statevar +tagged, + any.cryptohash-sha256 ==0.11.102.1, + cryptohash-sha256 -exe +use-cbits, + any.data-clist ==0.2, + any.data-default-class ==0.1.2.0, + any.data-fix ==0.3.2, + any.deepseq ==1.4.8.0, + any.digest ==0.0.2.1, + digest -have_arm64_crc32c -have_builtin_prefetch -have_mm_prefetch -have_sse42 -have_strong_getauxval -have_weak_getauxval +pkg-config, + any.directory ==1.3.7.1 || ==1.3.8.3, + directory -os-string, + any.disk-free-space ==0.1.0.1, + any.distributive ==0.6.2.1, + distributive +semigroups +tagged, + any.dlist ==1.0, + dlist -werror, + any.exceptions ==0.10.5, + any.file-uri ==0.1.0.0, + any.filepath ==1.4.2.2 || ==1.4.101.0, + filepath -cpphs, + any.foldable1-classes-compat ==0.1, + foldable1-classes-compat +tagged, + any.free ==5.2, + any.fusion-plugin-types ==0.1.0, + any.generic-arbitrary ==0.2.2, + any.generically ==0.1.1, + any.ghc-bignum ==1.3, + any.ghc-boot-th ==9.4.8, + any.ghc-prim ==0.9.1, + any.happy ==1.20.1.1, + any.hashable ==1.4.3.0, + hashable +integer-gmp -random-initial-seed, + any.haskell-lexer ==1.1.1, + any.haskus-utils-data ==1.4, + any.haskus-utils-types ==1.5.1, + any.haskus-utils-variant ==3.3, + any.heaps ==0.4, + any.hsc2hs ==0.68.8, + hsc2hs -in-ghc-tree, + any.hspec ==2.10.10, + any.hspec-core ==2.10.10, + any.hspec-discover ==2.10.10, + any.hspec-expectations ==0.8.2, + any.hspec-golden-aeson ==0.9.0.0, + any.indexed-profunctors ==0.1.1.1, + any.indexed-traversable ==0.1.3, + any.indexed-traversable-instances ==0.1.1.2, + any.integer-conversion ==0.1.0.1, + any.integer-logarithms ==1.0.3.1, + integer-logarithms -check-bounds +integer-gmp, + any.language-c ==0.9.3, + language-c -allwarnings +iecfpextension +usebytestrings, + any.libyaml-clib ==0.2.5, + any.libyaml-streamly ==0.2.2.1, + libyaml-streamly -no-unicode -system-libyaml, + any.lockfree-queue ==0.2.4, + any.lukko ==0.1.1.3, + lukko +ofd-locking, + any.lzma-static ==5.2.5.5, + any.megaparsec ==9.2.2, + megaparsec -dev, + any.microlens ==0.4.13.1, + any.microlens-mtl ==0.2.0.3, + any.microlens-th ==0.4.3.14, + any.monad-control ==1.0.3.1, + any.mono-traversable ==1.0.17.0, + any.mtl ==2.2.2, + any.mtl-compat ==0.2.2, + mtl-compat -two-point-one -two-point-two, + any.network ==3.1.4.0, + network -devel, + any.network-uri ==2.6.4.2, + any.optics ==0.4.2.1, + any.optics-core ==0.4.1.1, + optics-core -explicit-generic-labels, + any.optics-extra ==0.4.2.1, + any.optics-th ==0.4.1, + any.optparse-applicative ==0.17.1.0, + optparse-applicative +process, + any.os-release ==1.0.2.1, + os-release -devel, + any.parsec ==3.1.16.1, + any.parser-combinators ==1.3.0, + parser-combinators -dev, + any.pretty ==1.1.3.6, + any.pretty-terminal ==0.1.0.0, + any.primitive ==0.8.0.0, + any.process ==1.6.18.0, + any.profunctors ==5.6.2, + any.quickcheck-arbitrary-adt ==0.3.1.0, + any.quickcheck-io ==0.2.0, + any.random ==1.2.1.2, + any.recursion-schemes ==5.2.2.5, + recursion-schemes +template-haskell, + any.regex-base ==0.94.0.2, + any.regex-posix ==0.96.0.1, + regex-posix -_regex-posix-clib, + any.regex-posix-clib ==2.7, + any.resourcet ==1.2.6, + any.retry ==0.9.3.1, + retry -lib-werror, + any.rts ==1.0.2, + any.safe ==0.3.21, + any.safe-exceptions ==0.1.7.4, + any.scientific ==0.3.7.0, + scientific -bytestring-builder -integer-simple, + any.semialign ==1.3, + semialign +semigroupoids, + any.semigroupoids ==6.0.0.1, + semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers, + any.setenv ==0.1.1.3, + any.split ==0.2.5, + any.splitmix ==0.1.0.5, + splitmix -optimised-mixer, + any.stm ==2.5.1.0, + any.streaming-commons ==0.2.2.6, + streaming-commons -use-bytestring-builder, + any.streamly ==0.8.3, + streamly -debug -dev -fusion-plugin -has-llvm -inspection -limit-build-mem -no-fusion +opt -streamk -streamly-core -use-c-malloc +use-unliftio, + any.strict ==0.5, + any.strict-base ==0.4.0.0, + any.tagged ==0.8.8, + tagged +deepseq +transformers, + any.tagsoup ==0.14.8, + any.tar ==0.6.0.0, + any.tasty ==1.5, + tasty +unix, + any.tasty-hunit ==0.10.1, + any.template-haskell ==2.19.0.0, + any.temporary ==1.3, + any.text ==2.0.2, + any.text-binary ==0.2.1.1, + any.text-iso8601 ==0.1, + any.text-short ==0.1.5, + text-short -asserts, + any.text-zipper ==0.13, + any.tf-random ==0.5, + any.th-abstraction ==0.6.0.0, + any.th-compat ==0.1.4, + any.th-lift ==0.8.4, + any.th-lift-instances ==0.1.20, + any.these ==1.2, + any.time ==1.11.1.2 || ==1.12.2, + any.time-compat ==1.9.6.1, + time-compat -old-locale, + any.transformers ==0.5.6.2, + any.transformers-base ==0.4.6, + transformers-base +orphaninstances, + any.transformers-compat ==0.7.2, + transformers-compat -five +five-three -four +generic-deriving +mtl -three -two, + any.typed-process ==0.2.11.1, + any.unicode-data ==0.3.1, + unicode-data -ucd2haskell, + any.unix-compat ==0.7.1, + unix-compat -old-time, + any.unliftio-core ==0.2.1.0, + any.unordered-containers ==0.2.20, + unordered-containers -debug, + any.uri-bytestring ==0.3.3.1, + uri-bytestring -lib-werror, + any.utf8-string ==1.0.2, + any.uuid-types ==1.0.5.1, + any.vector ==0.13.1.0, + vector +boundschecks -internalchecks -unsafechecks -wall, + any.vector-algorithms ==0.9.0.1, + vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks, + any.vector-binary-instances ==0.2.5.2, + any.vector-stream ==0.1.0.1, + any.versions ==6.0.6, + any.vty ==6.2, + any.vty-crossplatform ==0.4.0.0, + vty-crossplatform -demos, + any.vty-windows ==0.2.0.2, + any.witherable ==0.4.2, + any.word-wrap ==0.5, + any.word8 ==0.1.3, + any.yaml-streamly ==0.12.4, + yaml-streamly +no-examples +no-exe, + any.zip ==2.0.0, + zip -dev -disable-bzip2 -disable-zstd, + any.zlib ==0.6.3.0, + zlib +bundled-c-zlib -non-blocking-ffi -pkg-config, + any.zstd ==0.1.3.0, + zstd +standalone +index-state: hackage.haskell.org 2024-03-15T23:51:46Z diff --git a/cabal.ghc948.project b/cabal.ghc948.project index 9998bb6..4fe4999 100644 --- a/cabal.ghc948.project +++ b/cabal.ghc948.project @@ -1,62 +1,8 @@ -packages: ./ghcup.cabal - -optional-packages: ./vendored/*/*.cabal - -if impl(ghc < 9.0) - package ghcup - flags: +tui -tar -else - package ghcup - flags: +tui +tar - -constraints: http-io-streams -brotli, - any.aeson >= 2.0.1.0, - any.hsc2hs ==0.68.8, - bzlib-conduit >= 0.3.0.3, - bz2 >= 1.0.1.1, - bzlib >= 0.5.2.0, - directory >= 1.3.8.3, - filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0 - if os(mingw32) - constraints: zlib +bundled-c-zlib, - lzma +static, - text -simdutf, - vty-windows >=0.2.0.2 - - if impl(ghc >= 9.4) - constraints: language-c >= 0.9.3 - - -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 - -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 - -package * - test-show-details: direct - -allow-newer: cabal-install-parsers:tar, streamly:Win32 - + import: cabal.ghc948.Win32.project + import: cabal.ghc948.Win32.project.freeze +else + import: cabal.ghc948.Unix.project + import: cabal.ghc948.Unix.project.freeze with-compiler: ghc-9.4.8 diff --git a/scripts/dev/refreeze.sh b/scripts/dev/refreeze.sh index b89c645..c61a19f 100755 --- a/scripts/dev/refreeze.sh +++ b/scripts/dev/refreeze.sh @@ -9,20 +9,33 @@ for ghc_ver in "$@" ; do # shellcheck disable=SC3060 project_file=cabal.ghc${ghc_ver//./}.project - cp cabal.project "${project_file}" case "$(uname -s)" in MSYS*|MINGW*) - cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}" -ftui + # shellcheck disable=SC3060 + project_file_os=cabal.ghc${ghc_ver//./}.Win32.project + cp cabal.project "${project_file_os}" + cabal freeze --project-file="${project_file_os}" -w "ghc-${ghc_ver}" -ftui ;; *) - cabal freeze --project-file="${project_file}" -w "ghc-${ghc_ver}" -ftui -finternal-downloader + # shellcheck disable=SC3060 + project_file_os=cabal.ghc${ghc_ver//./}.Unix.project + cp cabal.project "${project_file_os}" + cabal freeze --project-file="${project_file_os}" -w "ghc-${ghc_ver}" -ftui -finternal-downloader ;; esac - echo "" >> "${project_file}" - echo "with-compiler: ghc-${ghc_ver}" >> "${project_file}" + sed -i -e '/ghcup/d' "${project_file_os}".freeze - sed -i -e '/ghcup/d' "${project_file}".freeze + cat < "${project_file}" || die +if os(mingw32) + import: cabal.ghc${ghc_ver//./}.Win32.project + import: cabal.ghc${ghc_ver//./}.Win32.project.freeze +else + import: cabal.ghc${ghc_ver//./}.Unix.project + import: cabal.ghc${ghc_ver//./}.Unix.project.freeze + +with-compiler: ghc-${ghc_ver} +EOF done From 7f8bb141122ab604cbbb928072fce3b39cc05f12 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 18:27:12 +0800 Subject: [PATCH 7/8] Document cabal.project files etc. --- docs/dev.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/dev.md b/docs/dev.md index 3f39315..eefaaef 100644 --- a/docs/dev.md +++ b/docs/dev.md @@ -61,7 +61,17 @@ Some light suggestions: 3. use `where` a lot, so the main function body reads like prose 4. documentation is part of the code -## Common Tasks +## Contributing + +GHCup supports development via cabal and stack. E.g.: + +* build via stack: `stack build` +* build via cabal (with whatever GHC version): `cabal build` +* build via cabal reproducibly with a specific GHC version + - GHC 8.10.7: `cabal build --project-file=cabal.ghc8107.project` + - GHC 9.0.2: `cabal build --project-file=cabal.ghc902.project` + - and so on (check supported versions via `ls cabal.ghc+([0-9]).project`) +* build the release binaries: `cabal build --project-file=cabal.project.release` ### Adding a new GHC version From 3675c6b16c551b2ad411769ab6d31207e9d1b9c3 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 16 Mar 2024 18:46:38 +0800 Subject: [PATCH 8/8] Add contribution section to docs --- docs/dev.md | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/docs/dev.md b/docs/dev.md index eefaaef..be69c3d 100644 --- a/docs/dev.md +++ b/docs/dev.md @@ -1,7 +1,27 @@ -# Development +# Development and contribution All you wanted to know about GHCup development. +## Building + +GHCup supports development via cabal and stack. E.g.: + +* build via stack: `stack build` +* build via cabal (with whatever GHC version): `cabal build` +* build via cabal reproducibly with a specific GHC version + - GHC 8.10.7: `cabal build --project-file=cabal.ghc8107.project` + - GHC 9.0.2: `cabal build --project-file=cabal.ghc902.project` + - and so on (check supported versions via `ls cabal.ghc+([0-9]).project`) +* build the release binaries: `cabal build --project-file=cabal.project.release` + +## Contribution process and expectations + +* discuss your idea first before implementing anything +* GHCup is a dictatorship, so the final decisions are made by the author +* we don't manage contributors... you can work on anything you like +* reviews focus on logic and design, not on style and formatting +* remember that features, decisions and bugs are high impact, since GHCup is used in CIs, github workflows, etc. + ## Module graph [![Module graph](./modules_small.svg){: .center style="width:900px"}](./modules_wide.svg) @@ -61,17 +81,7 @@ Some light suggestions: 3. use `where` a lot, so the main function body reads like prose 4. documentation is part of the code -## Contributing - -GHCup supports development via cabal and stack. E.g.: - -* build via stack: `stack build` -* build via cabal (with whatever GHC version): `cabal build` -* build via cabal reproducibly with a specific GHC version - - GHC 8.10.7: `cabal build --project-file=cabal.ghc8107.project` - - GHC 9.0.2: `cabal build --project-file=cabal.ghc902.project` - - and so on (check supported versions via `ls cabal.ghc+([0-9]).project`) -* build the release binaries: `cabal build --project-file=cabal.project.release` +## Common tasks ### Adding a new GHC version