Compare commits

..

51 commits

Author SHA1 Message Date
Fedora Release Engineering
84b6995fd2 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 16:55:06 +00:00
Fedora Release Engineering
937baf3e85 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 05:47:09 +00:00
Jens Petersen
605a127cb1 stack and deps now in a standalone package 2024-12-06 18:31:09 +05:30
Jens Petersen
b763b8828e persistent-template is a meta-package 2024-08-07 18:13:40 +08:00
Jens Petersen
3f3c0e3471 update to stack 2.15.7 2024-08-07 17:20:59 +08:00
Fedora Release Engineering
6eeff1b1dd Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 09:06:55 +00:00
Jens Petersen
89a5074a4a update to new stackage snapshots.json url 2024-07-08 14:59:06 +08:00
Jens Petersen
f54e80c6ab stack-symlink-distro-ghc: workaround for ppc64le 2024-03-07 15:59:52 +08:00
Jens Petersen
70e0f0786c stack-symlink-distro-ghc: print $0 and no longer error for existing dir 2024-03-07 15:55:58 +08:00
Fedora Release Engineering
3b2f3dfcce Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 21:32:12 +00:00
Fedora Release Engineering
073e1bb36a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-20 21:58:28 +00:00
Jens Petersen
8a31ee478f patch stack setup for ppc64le and s390x
To avoid:
Error: [S-1852]
I don't know how to install GHC for (Linux,PPC64), please install manually
2023-12-15 23:02:10 +08:00
Jens Petersen
fb1edd4740 make stack-symlink-distro-ghc executable 2023-11-07 01:47:38 +08:00
Jens Petersen
d3882283af disable warnings about untested ghc and Cabal versions 2023-08-08 14:33:10 +08:00
Jens Petersen
36bd7e2ddc bring back the stack InvalidAbsFile patch updated for 2.9.3 2023-08-08 14:32:00 +08:00
Jens Petersen
b83488d98a update to stack-2.9.3.1
rework package along the lines of pandoc-cli
2023-07-29 11:05:32 +08:00
Jens Petersen
fecdd7941b use %patch -P 2023-07-20 23:41:39 +08:00
Fedora Release Engineering
a3ba8c2a72 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 06:08:42 +00:00
Jens Petersen
86537fd1d3 backport 6280.patch to 2.9.1 2023-04-11 13:34:08 +08:00
Jens Petersen
88ad8b7915 add infer-license BRs 2023-02-21 01:05:48 +08:00
Jens Petersen
784412798a update to stack-2.9.1 2023-02-21 00:46:39 +08:00
Jens Petersen
ff636396f1 stack-symlink-distro-ghc: also symlink bin/*-ghc-version 2022-12-18 12:26:30 +08:00
Fedora Release Engineering
d78b70b6ba Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 13:30:34 +00:00
Jens Petersen
234447b44d bump release 2022-06-20 13:51:35 +08:00
Jens Petersen
9f94d354e1 stack-symlink-distro-ghc script for setting up stack to use ghcX.Y 2022-04-30 23:21:01 +08:00
Jens Petersen
cfd1626575 silence the warnings about ghc-9.2 and Cabal-3.6 2022-03-21 17:38:35 +08:00
Jens Petersen
63eda324ae fully remove %regexapplicativetext 2022-03-21 01:31:01 +08:00
Jens Petersen
0f4f83125f stack-2.7.5 2022-03-21 00:24:13 +08:00
Fedora Release Engineering
ab1e938d2b - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 12:13:32 +00:00
Miro Hrončok
e60e00e4d1 Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 2022-01-08 11:11:58 +01:00
Jens Petersen
9852ccbfd5 stack-2.7.3 2021-08-10 03:54:29 +08:00
Fedora Release Engineering
2b96988044 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 07:30:47 +00:00
Jens Petersen
c255f7c9e7 use %ghc_delete_rpaths from ghc-rpm-macros-2.2.1 2021-06-08 21:24:44 +08:00
Jens Petersen
6e83a29ba2 rebuild 2021-06-08 20:26:24 +08:00
Jens Petersen
7dea3a5231 retry was packaged in Fedora 2021-03-18 17:58:36 +08:00
Fedora Release Engineering
70af6eb742 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 13:22:32 +00:00
Jens Petersen
8183d50d63 BR infer-license 2021-01-26 02:24:59 +08:00
Jens Petersen
77fe45dffb infer-license was packaged 2021-01-24 16:16:14 +08:00
Jens Petersen
18f27d868e th-utilities is not longer needed 2021-01-17 12:31:17 +08:00
Jens Petersen
b29e22972a stack: use recommends for zlib-devel 2020-09-18 20:39:14 +08:00
Jens Petersen
cc79ba07ce bump release 2020-09-16 11:30:26 +08:00
Jens Petersen
af3e2340b6 stack: requires gcc and gmp-devel
https://github.com/commercialhaskell/stack/issues/5388
2020-09-16 11:24:16 +08:00
Jens Petersen
f10c48e588 stack-2.3.3 and pantry-0.4.0.2 2020-08-11 14:17:58 +08:00
Fedora Release Engineering
59c682ea88 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 00:46:43 +00:00
Jens Petersen
40452c41de update to lts-16.5 (filelock and project-template) 2020-07-20 10:27:55 +08:00
Jens Petersen
993952ce1f update to stack-2.3.1 2020-07-20 10:10:54 +08:00
Jens Petersen
fc855f9862 add bash completions
https://docs.haskellstack.org/en/stable/shell_autocompletion/
2020-05-02 13:21:00 +08:00
Jens Petersen
42c56ec13f bump release 2020-04-12 12:18:56 +08:00
Jens Petersen
434359550e stack requires zlib-devel really 2020-04-12 12:03:08 +08:00
Jens Petersen
3cb7a8fb81 stack: allow ghc-8.8 and Cabal-3.0 without warnings 2020-04-12 12:01:40 +08:00
Jens Petersen
e6cf6db2c1 add stack-2.1.3.1 and subpackage missing deps (#1816920) 2020-04-09 11:39:32 +08:00
8 changed files with 338 additions and 944 deletions

68
.gitignore vendored
View file

@ -12,19 +12,67 @@ haskell-platform-2010.2.0.0.tar.gz
/haskell-platform-7.10.3.tar.gz
/haskell-platform-8.0.2.tar.gz
/haskell-platform-8.2.2.tar.gz
/bindings-uname-0.1.tar.gz
/filelock-0.1.1.3.tar.gz
/filelock-0.1.1.4.tar.gz
/hi-file-parser-0.1.0.0.tar.gz
/hpack-0.31.2.tar.gz
/hspec-smallcheck-0.5.2.tar.gz
/http-download-0.1.0.1.tar.gz
/infer-license-0.2.0.tar.gz
/mintty-0.1.2.tar.gz
/mustache-2.3.0.tar.gz
/neat-interpolation-0.3.2.4.tar.gz
/mustache-2.3.1.tar.gz
/neat-interpolation-0.3.2.6.tar.gz
/open-browser-0.2.1.0.tar.gz
/pantry-0.1.1.2.tar.gz
/project-template-0.2.0.1.tar.gz
/regex-applicative-text-0.1.0.1.tar.gz
/retry-0.7.7.0.tar.gz
/stack-1.9.3.1.tar.gz
/store-0.5.1.1.tar.gz
/store-core-0.4.4.tar.gz
/th-utilities-0.2.3.0.tar.gz
/retry-0.8.1.0.tar.gz
/rio-orphans-0.1.1.0.tar.gz
/stack-2.1.3.1.tar.gz
/th-utilities-0.2.3.1.tar.gz
/casa-client-0.0.1.tar.gz
/casa-types-0.0.1.tar.gz
/hpack-0.34.2.tar.gz
/http-download-0.2.0.0.tar.gz
/pantry-0.4.0.1.tar.gz
/retry-0.8.1.2.tar.gz
/stack-2.3.1.tar.gz
/th-utilities-0.2.4.0.tar.gz
/filelock-0.1.1.5.tar.gz
/project-template-0.2.1.0.tar.gz
/pantry-0.4.0.2.tar.gz
/stack-2.3.3.tar.gz
/stack-2.7.3.tar.gz
/hi-file-parser-0.1.2.0.tar.gz
/hpack-0.34.4.tar.gz
/neat-interpolation-0.5.1.2.tar.gz
/pantry-0.5.2.3.tar.gz
/rio-orphans-0.1.2.0.tar.gz
/casa-types-0.0.2.tar.gz
/stack-2.7.5.tar.gz
/hpack-0.34.6.tar.gz
/mintty-0.1.3.tar.gz
/mustache-2.3.2.tar.gz
/neat-interpolation-0.5.1.3.tar.gz
/pantry-0.5.3.tar.gz
/stack-2.9.1.tar.gz
/hi-file-parser-0.1.3.0.tar.gz
/hpack-0.35.2.tar.gz
/mintty-0.1.4.tar.gz
/mustache-2.4.1.tar.gz
/pantry-0.5.7.tar.gz
/stack-2.9.3.1.tar.gz
/filelock-0.1.1.6.tar.gz
/hi-file-parser-0.1.4.0.tar.gz
/mustache-2.4.2.tar.gz
/pantry-0.8.3.tar.gz
/stack-2.15.7.tar.gz
/aeson-warning-parser-0.1.1.tar.gz
/casa-client-0.0.2.tar.gz
/companion-0.1.0.tar.gz
/crypton-conduit-0.2.3.tar.gz
/filelock-0.1.1.7.tar.gz
/hi-file-parser-0.1.6.0.tar.gz
/hpack-0.36.1.tar.gz
/http-download-0.2.1.0.tar.gz
/neat-interpolation-0.5.1.4.tar.gz
/pantry-0.9.3.2.tar.gz
/static-bytes-0.1.0.tar.gz

View file

@ -1,191 +1,20 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
%global stack_ver 1.9.3.1
%global stack stack-%{stack_ver}
%global bindingsuname bindings-uname-0.1
%global filelock filelock-0.1.1.3
%global hpack hpack-0.31.2
%global mintty mintty-0.1.2
%global mustache mustache-2.3.0
%global neatinterpolation neat-interpolation-0.3.2.4
%global openbrowser open-browser-0.2.1.0
%global projecttemplate project-template-0.2.0.1
%global regexapplicativetext regex-applicative-text-0.1.0.1
%global retry retry-0.7.7.0
%global store store-0.5.1.1
%global storecore store-core-0.4.4
%global inferlicense infer-license-0.2.0
%global thutilities th-utilities-0.2.3.0
%global hspecsmallcheck hspec-smallcheck-0.5.2
%global subpkgs %{bindingsuname} %{filelock} %{inferlicense} %{hpack} %{mintty} %{mustache} %{neatinterpolation} %{openbrowser} %{projecttemplate} %{regexapplicativetext} %{retry} %{storecore} %{hspecsmallcheck} %{thutilities} %{store} %{stack}
# generated by cabal-rpm-2.2.1 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
Name: haskell-platform
Version: 2019.2
# can only be reset when all subpkgs bumped
Release: 2%{?dist}
Version: 2024.1
Release: 36%{?dist}
Summary: Standard Haskell distribution
License: BSD
URL: http://www.haskell.org/platform/
# stack build crashes ghc (#1827309)
ExcludeArch: armv7hl
# for stack:
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{stack}/%{stack}.tar.gz
Source1: https://hackage.haskell.org/package/%{bindingsuname}/%{bindingsuname}.tar.gz
Source2: https://hackage.haskell.org/package/%{filelock}/%{filelock}.tar.gz
Source3: https://hackage.haskell.org/package/%{hpack}/%{hpack}.tar.gz
Source4: https://hackage.haskell.org/package/%{mintty}/%{mintty}.tar.gz
Source5: https://hackage.haskell.org/package/%{mustache}/%{mustache}.tar.gz
Source6: https://hackage.haskell.org/package/%{neatinterpolation}/%{neatinterpolation}.tar.gz
Source7: https://hackage.haskell.org/package/%{openbrowser}/%{openbrowser}.tar.gz
Source8: https://hackage.haskell.org/package/%{projecttemplate}/%{projecttemplate}.tar.gz
Source9: https://hackage.haskell.org/package/%{regexapplicativetext}/%{regexapplicativetext}.tar.gz
Source10: https://hackage.haskell.org/package/%{retry}/%{retry}.tar.gz
Source11: https://hackage.haskell.org/package/%{store}/%{store}.tar.gz
Source12: https://hackage.haskell.org/package/%{storecore}/%{storecore}.tar.gz
Source20: https://hackage.haskell.org/package/%{hspecsmallcheck}/%{hspecsmallcheck}.tar.gz
Source21: https://hackage.haskell.org/package/%{inferlicense}/%{inferlicense}.tar.gz
Source22: https://hackage.haskell.org/package/%{thutilities}/%{thutilities}.tar.gz
Source30: https://hackage.haskell.org/package/%{stack}/stack.cabal#/%{stack}.cabal
# End cabal-rpm sources
License: BSD-3-Clause
URL: https://www.haskell.org/
BuildRequires: ghc
BuildRequires: alex
BuildRequires: cabal-install
BuildRequires: happy
BuildRequires: hscolour
# for stack:
# Begin cabal-rpm deps:
BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-Cabal-prof
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-annotated-wl-pprint-prof
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-async-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base64-bytestring-prof
#BuildRequires: ghc-bindings-uname-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-conduit-prof
BuildRequires: ghc-conduit-extra-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-cryptonite-prof
BuildRequires: ghc-cryptonite-conduit-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-echo-prof
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-extra-prof
BuildRequires: ghc-file-embed-prof
#BuildRequires: ghc-filelock-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-fsnotify-prof
BuildRequires: ghc-generic-deriving-prof
BuildRequires: ghc-githash-prof
BuildRequires: ghc-hackage-security-prof
BuildRequires: ghc-hashable-prof
#BuildRequires: ghc-hpack-prof
BuildRequires: ghc-hpc-prof
BuildRequires: ghc-http-client-prof
BuildRequires: ghc-http-client-tls-prof
BuildRequires: ghc-http-conduit-prof
BuildRequires: ghc-http-types-prof
BuildRequires: ghc-memory-prof
BuildRequires: ghc-microlens-prof
#BuildRequires: ghc-mintty-prof
BuildRequires: ghc-monad-logger-prof
BuildRequires: ghc-mono-traversable-prof
BuildRequires: ghc-mtl-prof
#BuildRequires: ghc-mustache-prof
#BuildRequires: ghc-neat-interpolation-prof
BuildRequires: ghc-network-uri-prof
#BuildRequires: ghc-open-browser-prof
BuildRequires: ghc-optparse-applicative-prof
BuildRequires: ghc-optparse-simple-prof
BuildRequires: ghc-path-prof
BuildRequires: ghc-path-io-prof
BuildRequires: ghc-persistent-prof
BuildRequires: ghc-persistent-sqlite-prof
BuildRequires: ghc-persistent-template-prof
BuildRequires: ghc-pretty-prof
BuildRequires: ghc-primitive-prof
BuildRequires: ghc-process-prof
#BuildRequires: ghc-project-template-prof
#BuildRequires: ghc-regex-applicative-text-prof
BuildRequires: ghc-resourcet-prof
#BuildRequires: ghc-retry-prof
BuildRequires: ghc-rio-prof
BuildRequires: ghc-semigroups-prof
BuildRequires: ghc-split-prof
BuildRequires: ghc-stm-prof
#BuildRequires: ghc-store-prof
#BuildRequires: ghc-store-core-prof
BuildRequires: ghc-streaming-commons-prof
BuildRequires: ghc-tar-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-temporary-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-text-metrics-prof
BuildRequires: ghc-th-reify-many-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-tls-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-typed-process-prof
BuildRequires: ghc-unicode-transforms-prof
BuildRequires: ghc-unix-prof
BuildRequires: ghc-unix-compat-prof
BuildRequires: ghc-unliftio-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-vector-prof
BuildRequires: ghc-yaml-prof
BuildRequires: ghc-zip-archive-prof
BuildRequires: ghc-zlib-prof
# for missing dep 'hpack':
BuildRequires: ghc-Glob-prof
BuildRequires: ghc-bifunctors-prof
#BuildRequires: ghc-infer-license-prof
BuildRequires: ghc-scientific-prof
# for missing dep 'mustache':
BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-either-prof
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-scientific-prof
BuildRequires: ghc-th-lift-prof
# for missing dep 'neat-interpolation':
BuildRequires: ghc-base-prelude-prof
BuildRequires: ghc-megaparsec-prof
# for missing dep 'regex-applicative-text':
BuildRequires: ghc-regex-applicative-prof
# for missing dep 'retry':
BuildRequires: ghc-data-default-class-prof
BuildRequires: ghc-random-prof
# for missing dep 'store':
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-orphans-prof
BuildRequires: ghc-bifunctors-prof
BuildRequires: ghc-contravariant-prof
BuildRequires: ghc-cryptohash-prof
BuildRequires: ghc-free-prof
BuildRequires: ghc-hspec-prof
#BuildRequires: ghc-hspec-smallcheck-prof
BuildRequires: ghc-lifted-base-prof
BuildRequires: ghc-monad-control-prof
BuildRequires: ghc-network-prof
BuildRequires: ghc-safe-prof
BuildRequires: ghc-smallcheck-prof
BuildRequires: ghc-syb-prof
BuildRequires: ghc-th-lift-prof
BuildRequires: ghc-th-lift-instances-prof
BuildRequires: ghc-th-orphans-prof
#BuildRequires: ghc-th-utilities-prof
BuildRequires: ghc-void-prof
# End cabal-rpm deps
BuildRequires: stack
# pull in all of ghc for least surprise
# even though strictly libHSghc is not formally part of HP
@ -195,98 +24,149 @@ Requires: cabal-install
Requires: happy
Requires: hscolour
Requires: stack
# F26:
Obsoletes: ghc-haskell-platform-devel < %{version}-%{release}
%description
Haskell Platform is a set stable and well used Haskell tools.
Haskell Platform is a set of stable and well used Haskell tools.
It provides a good starting environment for Haskell development.
%package -n stack
Version: %{stack_ver}
Summary: Haskell package tool
License: BSD
Url: http://haskellstack.org
Requires: gcc
Requires: gmp-devel
Recommends: zlib-devel
%description -n stack
Stack is a cross-platform program for developing Haskell projects.
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage -l %{quote:Public Domain} %{bindingsuname}
%ghc_lib_subpackage -l CC0 %{filelock}
%ghc_lib_subpackage -l MIT %{hpack}
%ghc_lib_subpackage -l BSD %{mintty}
%ghc_lib_subpackage -l BSD %{mustache}
%ghc_lib_subpackage -l MIT %{neatinterpolation}
%ghc_lib_subpackage -l BSD %{openbrowser}
%ghc_lib_subpackage -l BSD %{projecttemplate}
%ghc_lib_subpackage -l BSD %{regexapplicativetext}
%ghc_lib_subpackage -l BSD %{retry}
%ghc_lib_subpackage -l FIXME %{hspecsmallcheck}
%ghc_lib_subpackage -l MIT %{inferlicense}
%ghc_lib_subpackage -l MIT %{thutilities}
%ghc_lib_subpackage -l MIT %{store}
%ghc_lib_subpackage -l MIT %{storecore}
%ghc_lib_subpackage -l BSD %{stack}
%endif
%global version %{main_version}
%prep
# Begin cabal-rpm setup:
%setup -q -c -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a20 -a 21 -a 22
cp -bp %{SOURCE30} %{name}.cabal
# End cabal-rpm setup
(
cd %{regexapplicativetext}
cabal-tweak-dep-ver base '<4.10' '<4.13'
)
%build
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_libs_install %{subpkgs}
%ghc_fix_rpath %{pkgver}
# End cabal-rpm install
# open-browser
rm %{buildroot}%{_bindir}/example
echo %{_bindir}/hpack >> %{hpack}/ghc-hpack.files
echo %{_bindir}/haskell-mustache >> %{mustache}/ghc-mustache.files
%files
%files -n stack
# Begin cabal-rpm files:
%license %{stack}/LICENSE
%doc %{stack}/CONTRIBUTING.md %{stack}/ChangeLog.md %{stack}/README.md
%{_bindir}/stack
# End cabal-rpm files
%changelog
* Wed Sep 16 2020 Jens Petersen <petersen@redhat.com> - 2019.2-2
- stack requires gcc and gmp-devel
- stack also recommends zlib-devel
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2024.1-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Apr 23 2020 Jens Petersen <petersen@redhat.com> - 2019.2-1
- subpackage stack-1.9.3.1 package tool
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2024.1-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Dec 6 2024 Jens Petersen <petersen@redhat.com> - 2024.1-34
- stack is now packaged separately
* Thu Aug 1 2024 Jens Petersen <petersen@redhat.com> - 2024.1-33
- https://hackage.haskell.org/package/stack-2.15.7/changelog
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.1-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jul 8 2024 Jens Petersen <petersen@redhat.com> - 2023.1-31
- update to new stackage snapshots.json url
* Thu Mar 7 2024 Jens Petersen <petersen@redhat.com> - 2023.1-30
- stack-symlink-distro-ghc: workaround for ppc64le and no longer error
for existing dir
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.1-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.1-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Dec 15 2023 Jens Petersen <petersen@redhat.com> - 2023.1-27
- patch Stack.Setup to accept PPC64 and S390X Linux platforms
* Tue Nov 7 2023 Jens Petersen <petersen@redhat.com> - 2023.1-26
- make stack-symlink-distro-ghc executable
* Tue Aug 8 2023 Jens Petersen <petersen@redhat.com> - 2023.1-25
- bring back the stack InvalidAbsFile patch updated for 2.9.3
https://github.com/commercialhaskell/stack/pull/6028
- disable warnings about untested ghc and Cabal versions
* Sat Jul 29 2023 Jens Petersen <petersen@redhat.com> - 2023.1-24
- stack-2.9.3.1
- https://hackage.haskell.org/package/stack-2.9.3.1/changelog
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2022.2-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Apr 11 2023 Jens Petersen <petersen@redhat.com> - 2022.2-22
- backport fix for error: InvalidAbsFile "/usr/lib64/ghc-9.2.3/lib/../lib/x86_64-linux-ghc-9.2.3/rts-1.0.2/include/ghcversion.h" (#5866)
* Tue Feb 21 2023 Jens Petersen <petersen@redhat.com> - 2022.2-21
- update to stack 2.9.1
- https://hackage.haskell.org/package/stack-2.9.1/changelog
- SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 20 2022 Jens Petersen <petersen@redhat.com> - 2022.1-19
- rebuild
* Sat Apr 30 2022 Jens Petersen <petersen@redhat.com> - 2022.1-18
- stack-symlink-distro-ghc script for setting up stack to use ghcX.Y
* Mon Mar 21 2022 Jens Petersen <petersen@redhat.com> - 2022.1-17
- silence the warnings about ghc-9.2 and Cabal-3.6
* Sun Mar 20 2022 Jens Petersen <petersen@redhat.com> - 2022.1-16
- https://hackage.haskell.org/package/stack-2.7.5/changelog
- drop regex-applicative-text library
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2021.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 2021.1-14
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
* Tue Aug 10 2021 Jens Petersen <petersen@redhat.com> - 2021.1-13
- stack-2.7.3
- https://github.com/commercialhaskell/stack/releases/tag/v2.7.3
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 8 2021 Jens Petersen <petersen@redhat.com> - 2020.2-11
- use ghc_delete_rpaths
* Thu Mar 18 2021 Jens Petersen <petersen@redhat.com> - 2020.2-10
- retry was packaged in Fedora
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 24 2021 Jens Petersen <petersen@redhat.com> - 2020.2-8
- infer-license was packaged
* Sun Jan 17 2021 Jens Petersen <petersen@redhat.com> - 2020.2-7
- th-utilities is not longer needed for pantry/store
* Fri Sep 18 2020 Jens Petersen <petersen@redhat.com>
- stack: use recommends for zlib-devel
* Wed Sep 16 2020 Jens Petersen <petersen@redhat.com> - 2020.2-6
- stack requires gmp-devel and gcc
https://github.com/commercialhaskell/stack/issues/5388
* Tue Aug 11 2020 Jens Petersen <petersen@redhat.com> - 2020.2-5
- stack-2.3.3
- https://github.com/commercialhaskell/stack/releases/tag/v2.3.3
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 25 2020 Jens Petersen <petersen@redhat.com> - 2020.2-3
- update stack to 2.3.1
* Sat May 2 2020 Jens Petersen <petersen@redhat.com>
- generate bash completions
* Sun Apr 12 2020 Jens Petersen <petersen@redhat.com> - 2020.1-2
- stack requires ghc-zlib-devel for ghc
- stack: silence warnings about ghc-8.8 and Cabal-3.0
* Wed Apr 8 2020 Jens Petersen <petersen@redhat.com> - 2020.1-1
- subpackage stack package tool
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

16
sources
View file

@ -1,16 +0,0 @@
SHA512 (bindings-uname-0.1.tar.gz) = e668b8524cd35e0558d2321f8b89e5b8f9666d43c6950a4b8e56468a84d4664bd7f6c679160fd85370ba3109fb38c00d15bf0ece9da548affcba7ec375b8b394
SHA512 (filelock-0.1.1.3.tar.gz) = 2fc95f33311d43501daaed8472cffd198a0b9146325a9cfded5952c9a43b550fab6e89b722c2453034ee233480778bf2af9fb6089f111d168ebec1ececbaa895
SHA512 (hpack-0.31.2.tar.gz) = 8476463d34a4f110362e09e2b64fa091776c8742b217be26de8cddd932ae850eb63d2ba241021e4f2a1528a10b5852bba7bccdb8b7248e6ced534d45a6c39542
SHA512 (hspec-smallcheck-0.5.2.tar.gz) = 2fd27126285e7d308f277480dcadcb6b047f67a82389edaf7d4761504f88ffedd8831db5b6b4f178c429cf3e8009e8aee8c6b05040dd960e7d2813e50908bd05
SHA512 (infer-license-0.2.0.tar.gz) = 266651d9890ccbd9281ef3f9cd16df10f9c6fa8449990b63e956bd13559b1ef773c9dee92ad80de5b9d03599ac6a09766a1f4f3425884007982ab14d01697d45
SHA512 (mintty-0.1.2.tar.gz) = 6737851b82bec6977114baa572bdd012ff933a9d1c401857b97183fe341f605cc85618f2d0ac4afe2046cd90ec011d595bb82dea775f65b7e1d73dcf41777667
SHA512 (mustache-2.3.0.tar.gz) = bdefb406a44bb3648ca7129128767be04c780d967757385770111a0da8f91ff7165213038e8abc7799b28b66eb7d2f47383346837fad7e6327dad7aa714971f6
SHA512 (neat-interpolation-0.3.2.4.tar.gz) = c1e177bb811eec89047b3aa45e793681c2377a9c6700b557d5fe500af667d15dc8d06c161bb7b65daaa5ee88d675f48989d33419334253715ef0d38c006749ec
SHA512 (open-browser-0.2.1.0.tar.gz) = 94ba71597c270b518742534b1b9b9a7ca0ede2eeb08a030b03cca6dbe6e5a2de363dc443bae907ca5c90b126aeb7dc5f5dd1eada95ca78a0ba1a8d472df4ada1
SHA512 (project-template-0.2.0.1.tar.gz) = bc5824086ba8dfaff4ff64c5115d37ea5e496d7692f1120b11c2a878e522119d362c7d119ccf7b9cc064c58f9ce6382b5e24a69cdac5ac5d683c4d616e2c66ea
SHA512 (regex-applicative-text-0.1.0.1.tar.gz) = 8ee1d581498e047a7b759476ce98c43c19656b767790b0f12b8485bc212a71c7115cee5c3e5089392995bc71851025093c406bce9d8ac3c5962675ae06fa4339
SHA512 (retry-0.7.7.0.tar.gz) = 8a59efc71b7a8a6cb3d7fed5dbf30657a6fcee95608a7a590705f7fc83656f13c6929ed04e866d6cb15f0165af804954b65b70319ec1890a42b4523dfe1c951e
SHA512 (stack-1.9.3.1.tar.gz) = 01a0c379da6986fbdd0681090d70b503a27b510272cb27f327a964f31bbf1f5969bd32390b6c9f5e397376348e84dd86a17059455a0401608d58dab2631d7b3f
SHA512 (store-0.5.1.1.tar.gz) = f51ca5c6f5734360de0c38514c8e1437ea124d9195660038c7ee139c35d2e03576c23ae775da292037ebf403f30d876b5cb09b605b81e0c398b992334aa3dd32
SHA512 (store-core-0.4.4.tar.gz) = 12af1c02235776fefebd630e01b6b8d0fd9d81288f8016ac8d0f6eaa4027c755f277b4cf0036dcee7c128dcac93def4ce5fb39d3d351f33d938aee85bc1c6171
SHA512 (th-utilities-0.2.3.0.tar.gz) = edddde2ea3a9da44bd34cbf51d9f4ea14510eac9527f2f1a199390566e24f10ed84403f5450e47244b0cbfc4b5dc3a5c3f64ec596255f191d8bad83d9043a3ba

View file

@ -1,667 +0,0 @@
cabal-version: 1.24
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 20c56ad5f834f9b9591ab241421e1fef10c1f78084cc915abb8f49be4363fa94
name: stack
version: 1.9.3.1
x-revision: 2
synopsis: The Haskell Tool Stack
description: Please see the README.md for usage information, and the wiki on Github for more details. Also, note that the API for the library is not currently stable, and may change significantly, even between minor releases. It is currently only intended for use by the executable.
category: Development
homepage: http://haskellstack.org
bug-reports: https://github.com/commercialhaskell/stack/issues
author: Commercial Haskell SIG
maintainer: manny@fpcomplete.com
license: BSD3
license-file: LICENSE
build-type: Custom
extra-source-files:
CONTRIBUTING.md
ChangeLog.md
README.md
doc/architecture.md
doc/build_command.md
doc/ChangeLog.md
doc/CONTRIBUTING.md
doc/coverage.md
doc/custom_snapshot.md
doc/dependency_visualization.md
doc/docker_integration.md
doc/faq.md
doc/ghci.md
doc/ghcjs.md
doc/GUIDE.md
doc/install_and_upgrade.md
doc/nix_integration.md
doc/nonstandard_project_init.md
doc/README.md
doc/shell_autocompletion.md
doc/SIGNING_KEY.md
doc/stack_yaml_vs_cabal_package_file.md
doc/travis_ci.md
doc/yaml_configuration.md
src/setup-shim/StackSetupShim.hs
stack.yaml
test/package-dump/ghc-7.10.txt
test/package-dump/ghc-7.8.4-osx.txt
test/package-dump/ghc-7.8.txt
test/package-dump/ghc-head.txt
src/test/Stack/Untar/test1.tar.gz
src/test/Stack/Untar/test2.tar.gz
source-repository head
type: git
location: https://github.com/commercialhaskell/stack
custom-setup
setup-depends:
Cabal (>=2.4.0.1 && <2.5) || (>=2.4.1.0 && <2.5)
, base >=4.10 && <5
, filepath (>=1.4.1.2 && <1.5) || (>=1.4.2 && <1.5) || (>=1.4.2.1 && <1.5)
flag disable-git-info
description: Disable compile-time inclusion of current git info in stack
manual: True
default: False
flag hide-dependency-versions
description: Hides dependency versions from "stack --version", used only by building with stack.yaml
manual: True
default: False
flag integration-tests
description: Run the integration test suite
manual: True
default: False
flag static
description: Pass -static/-pthread to ghc when linking the stack binary.
manual: True
default: False
flag supported-build
description: If false, causes "stack --version" to issue a warning about the build being unsupported. True only if building with stack.yaml
manual: True
default: False
library
exposed-modules:
Control.Concurrent.Execute
Data.Aeson.Extended
Data.Attoparsec.Args
Data.Attoparsec.Combinators
Data.Attoparsec.Interpreter
Data.IORef.RunOnce
Data.Monoid.Map
Data.Store.VersionTagged
Network.HTTP.Download
Network.HTTP.Download.Verified
Network.HTTP.StackClient
Options.Applicative.Args
Options.Applicative.Builder.Extra
Options.Applicative.Complicated
Path.CheckInstall
Path.Extra
Path.Find
Paths_stack
Stack.Build
Stack.Build.Cache
Stack.Build.ConstructPlan
Stack.Build.Execute
Stack.Build.Haddock
Stack.Build.Installed
Stack.Build.Source
Stack.Build.Target
Stack.BuildPlan
Stack.Clean
Stack.Config
Stack.Config.Build
Stack.Config.Urls
Stack.Config.Docker
Stack.Config.Nix
Stack.ConfigCmd
Stack.Constants
Stack.Constants.Config
Stack.Coverage
Stack.DefaultColorWhen
Stack.Docker
Stack.Docker.GlobalDB
Stack.Dot
Stack.Fetch
Stack.FileWatch
Stack.GhcPkg
Stack.Ghci
Stack.Ghci.Script
Stack.Hoogle
Stack.IDE
Stack.Image
Stack.Init
Stack.Ls
Stack.New
Stack.Nix
Stack.Options.BenchParser
Stack.Options.BuildMonoidParser
Stack.Options.BuildParser
Stack.Options.CleanParser
Stack.Options.ConfigParser
Stack.Options.Completion
Stack.Options.DockerParser
Stack.Options.DotParser
Stack.Options.ExecParser
Stack.Options.GhcBuildParser
Stack.Options.GhciParser
Stack.Options.GhcVariantParser
Stack.Options.GlobalParser
Stack.Options.HaddockParser
Stack.Options.HpcReportParser
Stack.Options.LogLevelParser
Stack.Options.NewParser
Stack.Options.NixParser
Stack.Options.PackageParser
Stack.Options.ResolverParser
Stack.Options.ScriptParser
Stack.Options.SDistParser
Stack.Options.SolverParser
Stack.Options.TestParser
Stack.Options.Utils
Stack.Package
Stack.PackageDump
Stack.PackageIndex
Stack.PackageLocation
Stack.Path
Stack.Prelude
Stack.PrettyPrint
Stack.Runners
Stack.Script
Stack.SDist
Stack.Setup
Stack.Setup.Installed
Stack.SetupCmd
Stack.Sig
Stack.Sig.GPG
Stack.Sig.Sign
Stack.Snapshot
Stack.Solver
Stack.StaticBytes
Stack.Types.Build
Stack.Types.BuildPlan
Stack.Types.CompilerBuild
Stack.Types.Urls
Stack.Types.Compiler
Stack.Types.Config
Stack.Types.Config.Build
Stack.Types.Docker
Stack.Types.FlagName
Stack.Types.GhcPkgId
Stack.Types.Image
Stack.Types.NamedComponent
Stack.Types.Nix
Stack.Types.Package
Stack.Types.PackageDump
Stack.Types.PackageIdentifier
Stack.Types.PackageIndex
Stack.Types.PackageName
Stack.Types.Resolver
Stack.Types.Runner
Stack.Types.Sig
Stack.Types.TemplateName
Stack.Types.Version
Stack.Types.VersionIntervals
Stack.Upgrade
Stack.Upload
Text.PrettyPrint.Leijen.Extended
System.Process.PagerEditor
System.Terminal
other-modules:
Hackage.Security.Client.Repository.HttpLib.HttpClient
hs-source-dirs:
src/
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -fwarn-identities
build-depends:
Cabal (>=2.4.0.1 && <2.5) || (>=2.4.1.0 && <2.5)
, aeson (>=1.2.4.0 && <1.3) || (>=1.3.1.1 && <1.4) || (>=1.4.2.0 && <1.5)
, annotated-wl-pprint >=0.7.0 && <0.8
, ansi-terminal (>=0.8.0.4 && <0.9) || (>=0.8.2 && <0.9) || (==0.9.*)
, async (>=2.1.1.1 && <2.2) || (>=2.2.1 && <2.3)
, attoparsec >=0.13.2.2 && <0.14
, base >=4.10 && <5
, base64-bytestring (>=1.0.0.1 && <1.1) || (>=1.0.0.2 && <1.1)
, bytestring >=0.10.8.2 && <0.11
, conduit (>=1.2.13.1 && <1.3) || (>=1.3.1 && <1.4) || (>=1.3.1.1 && <1.4)
, conduit-extra (>=1.2.3.2 && <1.3) || (>=1.3.0 && <1.4) || (>=1.3.1.1 && <1.4)
, containers (>=0.5.10.2 && <0.6) || (>=0.5.11.0 && <0.6) || (>=0.6.0.1 && <0.7)
, cryptonite ==0.25.*
, cryptonite-conduit >=0.2.2 && <0.3
, deepseq (>=1.4.3.0 && <1.5) || (>=1.4.4.0 && <1.5)
, directory (>=1.3.0.2 && <1.4) || (>=1.3.1.5 && <1.4) || (>=1.3.3.0 && <1.4)
, echo >=0.1.3 && <0.2
, exceptions (>=0.8.3 && <0.9) || (>=0.10.0 && <0.11) || (>=0.10.1 && <0.11)
, extra (>=1.6.9 && <1.7) || (>=1.6.13 && <1.7) || (>=1.6.14 && <1.7)
, file-embed (>=0.0.10.1 && <0.1) || (>=0.0.11 && <0.1)
, filelock >=0.1.1.2 && <0.2
, filepath (>=1.4.1.2 && <1.5) || (>=1.4.2 && <1.5) || (>=1.4.2.1 && <1.5)
, fsnotify (>=0.2.1.1 && <0.3) || (>=0.3.0.1 && <0.4)
, generic-deriving (>=1.12.2 && <1.13) || (>=1.12.3 && <1.13)
, hackage-security >=0.5.3.0 && <0.6
, hashable >=1.2.7.0 && <1.3
, hpack (>=0.31.1 && <0.32) || (>=0.31.2 && <0.32)
, hpc >=0.6.0.3 && <0.7
, http-client (>=0.5.13.1 && <0.6) || (>=0.5.14 && <0.6) || (>=0.6.4 && <0.7)
, http-client-tls >=0.3.5.3 && <0.4
, http-conduit (>=2.3.2 && <2.4) || (>=2.3.7 && <2.4)
, http-types (>=0.12.1 && <0.13) || (>=0.12.2 && <0.13) || (>=0.12.3 && <0.13)
, memory (>=0.14.16 && <0.15) || (>=0.14.18 && <0.15)
, microlens (>=0.4.8.3 && <0.5) || (>=0.4.9.1 && <0.5) || (>=0.4.10 && <0.5)
, mintty >=0.1.2 && <0.2
, monad-logger (>=0.3.29 && <0.4) || (>=0.3.30 && <0.4)
, mono-traversable (>=1.0.9.0 && <1.1) || (>=1.0.11.0 && <1.1)
, mtl >=2.2.2 && <2.3
, mustache >=2.3.0 && <2.4
, neat-interpolation (>=0.3.2.1 && <0.4) || (>=0.3.2.2 && <0.4) || (>=0.3.2.4 && <0.4)
, network-uri >=2.6.1.0 && <2.7
, open-browser >=0.2.1.0 && <0.3
, optparse-applicative (>=0.14.2.0 && <0.15) || (>=0.14.3.0 && <0.15)
, path >=0.6.1 && <0.7
, path-io (>=1.3.3 && <1.4) || (>=1.4.2 && <1.5)
, persistent (>=2.7.1 && <2.8) || (>=2.8.2 && <2.9) || (>=2.9.2 && <2.10)
, persistent-sqlite (>=2.6.4 && <2.7) || (>=2.8.2 && <2.9) || (>=2.9.3 && <2.10)
, persistent-template (>=2.5.4 && <2.6) || (>=2.6.0 && <2.7)
, pretty (>=1.1.3.3 && <1.2) || (>=1.1.3.6 && <1.2)
, primitive (>=0.6.4.0 && <0.7) || (>=0.6.3.0 && <0.7) || (>=0.6.4.0 && <0.7)
, process (>=1.6.1.0 && <1.7) || (>=1.6.3.0 && <1.7) || (>=1.6.5.0 && <1.7)
, project-template >=0.2.0.1 && <0.3
, regex-applicative-text >=0.1.0.1 && <0.2
, resourcet (>=1.1.11 && <1.2) || (>=1.2.2 && <1.3)
, retry (>=0.7.6.3 && <0.8) || (>=0.7.7.0 && <0.8) || (>=0.8.0.0 && <0.9)
, rio (>= 0.1.8.0 && < 0.1.9) || (>=0.1.9.2 && <0.2)
, semigroups >=0.18.5 && <0.19
, split >=0.2.3.3 && <0.3
, stm (>=2.4.5.0 && <2.5) || (>=2.4.5.1 && <2.5) || (>=2.5.0.0 && <2.6)
, store (>=0.4.3.2 && <0.5) || (>=0.5.0.1 && <0.6)
, store-core >=0.4.4 && <0.5
, streaming-commons (>=0.1.19 && <0.2) || (>=0.2.1.0 && <0.3)
, tar >=0.5.1.0 && <0.6
, template-haskell (>=2.12.0.0 && <2.13) || (>=2.13.0.0 && <2.14) || (>=2.14.0.0 && <2.15)
, temporary (>=1.2.1.1 && <1.3) || (==1.3.*)
, text (>=1.2.3.0 && <1.3) || (>=1.2.3.1 && <1.3)
, text-metrics >=0.3.0 && <0.4
, th-reify-many >=0.1.8 && <0.2
, time >=1.8.0.2 && <1.9
, tls >=1.4.1 && <1.5
, transformers (>=0.5.2.0 && <0.6) || (>=0.5.5.0 && <0.6) || (>=0.5.6.2 && <0.6)
, typed-process (>=0.2.3.0 && <0.3) || (>=0.2.4.0 && <0.3)
, unicode-transforms (>=0.3.4 && <0.4) || (>=0.3.5 && <0.4)
, unix-compat (>=0.5.0.1 && <0.6) || (>=0.5.1 && <0.6)
, unliftio (>=0.2.10 && <0.3) || (>=0.2.8.1 && <0.3) || (>=0.2.10 && <0.3)
, unordered-containers (>=0.2.9.0 && <0.3) || (>=0.2.10.0 && <0.3)
, vector (>=0.12.0.1 && <0.13) || (>=0.12.0.2 && <0.13)
, yaml (>=0.10.4.0 && <0.11) || (>=0.11.0.0 && <0.12)
, zip-archive (>=0.3.3 && <0.4) || (==0.4.*)
, zlib >=0.6.2 && <0.7
if os(windows)
cpp-options: -DWINDOWS
build-depends:
Win32
else
build-tools:
hsc2hs
build-depends:
bindings-uname ==0.1.*
, unix >=2.7.2.2 && <2.8
if os(windows)
hs-source-dirs:
src/windows/
else
hs-source-dirs:
src/unix/
default-language: Haskell2010
autogen-modules: Paths_stack
executable stack
main-is: Main.hs
other-modules:
Build_stack
Paths_stack
hs-source-dirs:
src/main
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded -rtsopts
build-depends:
Cabal (>=2.4.0.1 && <2.5) || (>=2.4.1.0 && <2.5)
, aeson (>=1.2.4.0 && <1.3) || (>=1.3.1.1 && <1.4) || (>=1.4.2.0 && <1.5)
, annotated-wl-pprint >=0.7.0 && <0.8
, ansi-terminal (>=0.8.0.4 && <0.9) || (>=0.8.2 && <0.9) || (==0.9.*)
, async (>=2.1.1.1 && <2.2) || (>=2.2.1 && <2.3)
, attoparsec >=0.13.2.2 && <0.14
, base >=4.10 && <5
, base64-bytestring (>=1.0.0.1 && <1.1) || (>=1.0.0.2 && <1.1)
, bytestring >=0.10.8.2 && <0.11
, conduit (>=1.2.13.1 && <1.3) || (>=1.3.1 && <1.4) || (>=1.3.1.1 && <1.4)
, conduit-extra (>=1.2.3.2 && <1.3) || (>=1.3.0 && <1.4) || (>=1.3.1.1 && <1.4)
, containers (>=0.5.10.2 && <0.6) || (>=0.5.11.0 && <0.6) || (>=0.6.0.1 && <0.7)
, cryptonite ==0.25.*
, cryptonite-conduit >=0.2.2 && <0.3
, deepseq (>=1.4.3.0 && <1.5) || (>=1.4.4.0 && <1.5)
, directory (>=1.3.0.2 && <1.4) || (>=1.3.1.5 && <1.4) || (>=1.3.3.0 && <1.4)
, echo >=0.1.3 && <0.2
, exceptions (>=0.8.3 && <0.9) || (>=0.10.0 && <0.11) || (>=0.10.1 && <0.11)
, extra (>=1.6.9 && <1.7) || (>=1.6.13 && <1.7) || (>=1.6.14 && <1.7)
, file-embed (>=0.0.10.1 && <0.1) || (>=0.0.11 && <0.1)
, filelock >=0.1.1.2 && <0.2
, filepath (>=1.4.1.2 && <1.5) || (>=1.4.2 && <1.5) || (>=1.4.2.1 && <1.5)
, fsnotify (>=0.2.1.1 && <0.3) || (>=0.3.0.1 && <0.4)
, generic-deriving (>=1.12.2 && <1.13) || (>=1.12.3 && <1.13)
, hackage-security >=0.5.3.0 && <0.6
, hashable >=1.2.7.0 && <1.3
, hpack (>=0.31.1 && <0.32) || (>=0.31.2 && <0.32)
, hpc >=0.6.0.3 && <0.7
, http-client (>=0.5.13.1 && <0.6) || (>=0.5.14 && <0.6) || (>=0.6.4 && <0.7)
, http-client-tls >=0.3.5.3 && <0.4
, http-conduit (>=2.3.2 && <2.4) || (>=2.3.7 && <2.4)
, http-types (>=0.12.1 && <0.13) || (>=0.12.2 && <0.13) || (>=0.12.3 && <0.13)
, memory (>=0.14.16 && <0.15) || (>=0.14.18 && <0.15)
, microlens (>=0.4.8.3 && <0.5) || (>=0.4.9.1 && <0.5) || (>=0.4.10 && <0.5)
, mintty >=0.1.2 && <0.2
, monad-logger (>=0.3.29 && <0.4) || (>=0.3.30 && <0.4)
, mono-traversable (>=1.0.9.0 && <1.1) || (>=1.0.11.0 && <1.1)
, mtl >=2.2.2 && <2.3
, mustache >=2.3.0 && <2.4
, neat-interpolation (>=0.3.2.1 && <0.4) || (>=0.3.2.2 && <0.4) || (>=0.3.2.4 && <0.4)
, network-uri >=2.6.1.0 && <2.7
, open-browser >=0.2.1.0 && <0.3
, optparse-applicative (>=0.14.2.0 && <0.15) || (>=0.14.3.0 && <0.15)
, path >=0.6.1 && <0.7
, path-io (>=1.3.3 && <1.4) || (>=1.4.2 && <1.5)
, persistent (>=2.7.1 && <2.8) || (>=2.8.2 && <2.9) || (>=2.9.2 && <2.10)
, persistent-sqlite (>=2.6.4 && <2.7) || (>=2.8.2 && <2.9) || (>=2.9.3 && <2.10)
, persistent-template (>=2.5.4 && <2.6) || (>=2.6.0 && <2.7)
, pretty (>=1.1.3.3 && <1.2) || (>=1.1.3.6 && <1.2)
, primitive (>=0.6.4.0 && <0.7) || (>=0.6.3.0 && <0.7) || (>=0.6.4.0 && <0.7)
, process (>=1.6.1.0 && <1.7) || (>=1.6.3.0 && <1.7) || (>=1.6.5.0 && <1.7)
, project-template >=0.2.0.1 && <0.3
, regex-applicative-text >=0.1.0.1 && <0.2
, resourcet (>=1.1.11 && <1.2) || (>=1.2.2 && <1.3)
, retry (>=0.7.6.3 && <0.8) || (>=0.7.7.0 && <0.8) || (>=0.8.0.0 && <0.9)
, rio (>= 0.1.8.0 && < 0.1.9) || (>=0.1.9.2 && <0.2)
, semigroups >=0.18.5 && <0.19
, split >=0.2.3.3 && <0.3
, stack
, stm (>=2.4.5.0 && <2.5) || (>=2.4.5.1 && <2.5) || (>=2.5.0.0 && <2.6)
, store (>=0.4.3.2 && <0.5) || (>=0.5.0.1 && <0.6)
, store-core >=0.4.4 && <0.5
, streaming-commons (>=0.1.19 && <0.2) || (>=0.2.1.0 && <0.3)
, tar >=0.5.1.0 && <0.6
, template-haskell (>=2.12.0.0 && <2.13) || (>=2.13.0.0 && <2.14) || (>=2.14.0.0 && <2.15)
, temporary (>=1.2.1.1 && <1.3) || (==1.3.*)
, text (>=1.2.3.0 && <1.3) || (>=1.2.3.1 && <1.3)
, text-metrics >=0.3.0 && <0.4
, th-reify-many >=0.1.8 && <0.2
, time >=1.8.0.2 && <1.9
, tls >=1.4.1 && <1.5
, transformers (>=0.5.2.0 && <0.6) || (>=0.5.5.0 && <0.6) || (>=0.5.6.2 && <0.6)
, typed-process (>=0.2.3.0 && <0.3) || (>=0.2.4.0 && <0.3)
, unicode-transforms (>=0.3.4 && <0.4) || (>=0.3.5 && <0.4)
, unix-compat (>=0.5.0.1 && <0.6) || (>=0.5.1 && <0.6)
, unliftio (>=0.2.10 && <0.3) || (>=0.2.8.1 && <0.3) || (>=0.2.10 && <0.3)
, unordered-containers (>=0.2.9.0 && <0.3) || (>=0.2.10.0 && <0.3)
, vector (>=0.12.0.1 && <0.13) || (>=0.12.0.2 && <0.13)
, yaml (>=0.10.4.0 && <0.11) || (>=0.11.0.0 && <0.12)
, zip-archive (>=0.3.3 && <0.4) || (==0.4.*)
, zlib >=0.6.2 && <0.7
if os(windows)
cpp-options: -DWINDOWS
build-depends:
Win32
else
build-tools:
hsc2hs
build-depends:
bindings-uname ==0.1.*
, unix >=2.7.2.2 && <2.8
if flag(static)
ld-options: -static -pthread
if !(flag(disable-git-info))
cpp-options: -DUSE_GIT_INFO
build-depends:
githash (>=0.1.3.0 && <0.2) || (>=0.1.3.1 && <0.2)
, optparse-simple (>=0.1.0 && <0.2) || (>=0.1.1.1 && <0.2)
if flag(hide-dependency-versions)
cpp-options: -DHIDE_DEP_VERSIONS
if flag(supported-build)
cpp-options: -DSUPPORTED_BUILD
default-language: Haskell2010
autogen-modules:
Build_stack,
Paths_stack
test-suite stack-integration-test
type: exitcode-stdio-1.0
main-is: IntegrationSpec.hs
other-modules:
StackTest
Paths_stack
hs-source-dirs:
test/integration
test/integration/lib
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded -rtsopts -with-rtsopts=-N
build-depends:
Cabal (>=2.4.0.1 && <2.5) || (>=2.4.1.0 && <2.5)
, aeson (>=1.2.4.0 && <1.3) || (>=1.3.1.1 && <1.4) || (>=1.4.2.0 && <1.5)
, annotated-wl-pprint >=0.7.0 && <0.8
, ansi-terminal (>=0.8.0.4 && <0.9) || (>=0.8.2 && <0.9) || (==0.9.*)
, async (>=2.1.1.1 && <2.2) || (>=2.2.1 && <2.3)
, attoparsec >=0.13.2.2 && <0.14
, base >=4.10 && <5
, base64-bytestring (>=1.0.0.1 && <1.1) || (>=1.0.0.2 && <1.1)
, bytestring >=0.10.8.2 && <0.11
, conduit (>=1.2.13.1 && <1.3) || (>=1.3.1 && <1.4) || (>=1.3.1.1 && <1.4)
, conduit-extra (>=1.2.3.2 && <1.3) || (>=1.3.0 && <1.4) || (>=1.3.1.1 && <1.4)
, containers (>=0.5.10.2 && <0.6) || (>=0.5.11.0 && <0.6) || (>=0.6.0.1 && <0.7)
, cryptonite ==0.25.*
, cryptonite-conduit >=0.2.2 && <0.3
, deepseq (>=1.4.3.0 && <1.5) || (>=1.4.4.0 && <1.5)
, directory (>=1.3.0.2 && <1.4) || (>=1.3.1.5 && <1.4) || (>=1.3.3.0 && <1.4)
, echo >=0.1.3 && <0.2
, exceptions (>=0.8.3 && <0.9) || (>=0.10.0 && <0.11) || (>=0.10.1 && <0.11)
, extra (>=1.6.9 && <1.7) || (>=1.6.13 && <1.7) || (>=1.6.14 && <1.7)
, file-embed (>=0.0.10.1 && <0.1) || (>=0.0.11 && <0.1)
, filelock >=0.1.1.2 && <0.2
, filepath (>=1.4.1.2 && <1.5) || (>=1.4.2 && <1.5) || (>=1.4.2.1 && <1.5)
, fsnotify (>=0.2.1.1 && <0.3) || (>=0.3.0.1 && <0.4)
, generic-deriving (>=1.12.2 && <1.13) || (>=1.12.3 && <1.13)
, hackage-security >=0.5.3.0 && <0.6
, hashable >=1.2.7.0 && <1.3
, hpack (>=0.31.1 && <0.32) || (>=0.31.2 && <0.32)
, hpc >=0.6.0.3 && <0.7
, hspec (>=2.4.8 && <2.5) || (>=2.5.5 && <2.6) || (>=2.7.0 && <2.8)
, http-client (>=0.5.13.1 && <0.6) || (>=0.5.14 && <0.6) || (>=0.6.4 && <0.7)
, http-client-tls >=0.3.5.3 && <0.4
, http-conduit (>=2.3.2 && <2.4) || (>=2.3.7 && <2.4)
, http-types (>=0.12.1 && <0.13) || (>=0.12.2 && <0.13) || (>=0.12.3 && <0.13)
, memory (>=0.14.16 && <0.15) || (>=0.14.18 && <0.15)
, microlens (>=0.4.8.3 && <0.5) || (>=0.4.9.1 && <0.5) || (>=0.4.10 && <0.5)
, mintty >=0.1.2 && <0.2
, monad-logger (>=0.3.29 && <0.4) || (>=0.3.30 && <0.4)
, mono-traversable (>=1.0.9.0 && <1.1) || (>=1.0.11.0 && <1.1)
, mtl >=2.2.2 && <2.3
, mustache >=2.3.0 && <2.4
, neat-interpolation (>=0.3.2.1 && <0.4) || (>=0.3.2.2 && <0.4) || (>=0.3.2.4 && <0.4)
, network-uri >=2.6.1.0 && <2.7
, open-browser >=0.2.1.0 && <0.3
, optparse-applicative (>=0.14.2.0 && <0.15) || (>=0.14.3.0 && <0.15)
, path >=0.6.1 && <0.7
, path-io (>=1.3.3 && <1.4) || (>=1.4.2 && <1.5)
, persistent (>=2.7.1 && <2.8) || (>=2.8.2 && <2.9) || (>=2.9.2 && <2.10)
, persistent-sqlite (>=2.6.4 && <2.7) || (>=2.8.2 && <2.9) || (>=2.9.3 && <2.10)
, persistent-template (>=2.5.4 && <2.6) || (>=2.6.0 && <2.7)
, pretty (>=1.1.3.3 && <1.2) || (>=1.1.3.6 && <1.2)
, primitive (>=0.6.4.0 && <0.7) || (>=0.6.3.0 && <0.7) || (>=0.6.4.0 && <0.7)
, process (>=1.6.1.0 && <1.7) || (>=1.6.3.0 && <1.7) || (>=1.6.5.0 && <1.7)
, project-template >=0.2.0.1 && <0.3
, regex-applicative-text >=0.1.0.1 && <0.2
, resourcet (>=1.1.11 && <1.2) || (>=1.2.2 && <1.3)
, retry (>=0.7.6.3 && <0.8) || (>=0.7.7.0 && <0.8) || (>=0.8.0.0 && <0.9)
, rio (>= 0.1.8.0 && < 0.1.9) || (>=0.1.9.2 && <0.2)
, semigroups >=0.18.5 && <0.19
, split >=0.2.3.3 && <0.3
, stm (>=2.4.5.0 && <2.5) || (>=2.4.5.1 && <2.5) || (>=2.5.0.0 && <2.6)
, store (>=0.4.3.2 && <0.5) || (>=0.5.0.1 && <0.6)
, store-core >=0.4.4 && <0.5
, streaming-commons (>=0.1.19 && <0.2) || (>=0.2.1.0 && <0.3)
, tar >=0.5.1.0 && <0.6
, template-haskell (>=2.12.0.0 && <2.13) || (>=2.13.0.0 && <2.14) || (>=2.14.0.0 && <2.15)
, temporary (>=1.2.1.1 && <1.3) || (==1.3.*)
, text (>=1.2.3.0 && <1.3) || (>=1.2.3.1 && <1.3)
, text-metrics >=0.3.0 && <0.4
, th-reify-many >=0.1.8 && <0.2
, time >=1.8.0.2 && <1.9
, tls >=1.4.1 && <1.5
, transformers (>=0.5.2.0 && <0.6) || (>=0.5.5.0 && <0.6) || (>=0.5.6.2 && <0.6)
, typed-process (>=0.2.3.0 && <0.3) || (>=0.2.4.0 && <0.3)
, unicode-transforms (>=0.3.4 && <0.4) || (>=0.3.5 && <0.4)
, unix-compat (>=0.5.0.1 && <0.6) || (>=0.5.1 && <0.6)
, unliftio (>=0.2.10 && <0.3) || (>=0.2.8.1 && <0.3) || (>=0.2.10 && <0.3)
, unordered-containers (>=0.2.9.0 && <0.3) || (>=0.2.10.0 && <0.3)
, vector (>=0.12.0.1 && <0.13) || (>=0.12.0.2 && <0.13)
, yaml (>=0.10.4.0 && <0.11) || (>=0.11.0.0 && <0.12)
, zip-archive (>=0.3.3 && <0.4) || (==0.4.*)
, zlib >=0.6.2 && <0.7
if os(windows)
cpp-options: -DWINDOWS
build-depends:
Win32
else
build-tools:
hsc2hs
build-depends:
bindings-uname ==0.1.*
, unix >=2.7.2.2 && <2.8
if !(flag(integration-tests))
buildable: False
default-language: Haskell2010
test-suite stack-test
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules:
Network.HTTP.Download.VerifiedSpec
Spec
Stack.ArgsSpec
Stack.Build.ExecuteSpec
Stack.Build.TargetSpec
Stack.ConfigSpec
Stack.DotSpec
Stack.Ghci.PortableFakePaths
Stack.Ghci.ScriptSpec
Stack.GhciSpec
Stack.NixSpec
Stack.PackageDumpSpec
Stack.SolverSpec
Stack.StaticBytesSpec
Stack.StoreSpec
Stack.Types.BuildPlanSpec
Stack.Types.TemplateNameSpec
Stack.Untar.UntarSpec
Paths_stack
hs-source-dirs:
src/test
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -optP-Wno-nonportable-include-path -threaded
build-depends:
Cabal (>=2.4.0.1 && <2.5) || (>=2.4.1.0 && <2.5)
, QuickCheck (>=2.10.1 && <2.11) || (>=2.11.3 && <2.12) || (>=2.12.6.1 && <2.13)
, aeson (>=1.2.4.0 && <1.3) || (>=1.3.1.1 && <1.4) || (>=1.4.2.0 && <1.5)
, annotated-wl-pprint >=0.7.0 && <0.8
, ansi-terminal (>=0.8.0.4 && <0.9) || (>=0.8.2 && <0.9) || (==0.9.*)
, async (>=2.1.1.1 && <2.2) || (>=2.2.1 && <2.3)
, attoparsec >=0.13.2.2 && <0.14
, base >=4.10 && <5
, base64-bytestring (>=1.0.0.1 && <1.1) || (>=1.0.0.2 && <1.1)
, bytestring >=0.10.8.2 && <0.11
, conduit (>=1.2.13.1 && <1.3) || (>=1.3.1 && <1.4) || (>=1.3.1.1 && <1.4)
, conduit-extra (>=1.2.3.2 && <1.3) || (>=1.3.0 && <1.4) || (>=1.3.1.1 && <1.4)
, containers (>=0.5.10.2 && <0.6) || (>=0.5.11.0 && <0.6) || (>=0.6.0.1 && <0.7)
, cryptonite ==0.25.*
, cryptonite-conduit >=0.2.2 && <0.3
, deepseq (>=1.4.3.0 && <1.5) || (>=1.4.4.0 && <1.5)
, directory (>=1.3.0.2 && <1.4) || (>=1.3.1.5 && <1.4) || (>=1.3.3.0 && <1.4)
, echo >=0.1.3 && <0.2
, exceptions (>=0.8.3 && <0.9) || (>=0.10.0 && <0.11) || (>=0.10.1 && <0.11)
, extra (>=1.6.9 && <1.7) || (>=1.6.13 && <1.7) || (>=1.6.14 && <1.7)
, file-embed (>=0.0.10.1 && <0.1) || (>=0.0.11 && <0.1)
, filelock >=0.1.1.2 && <0.2
, filepath (>=1.4.1.2 && <1.5) || (>=1.4.2 && <1.5) || (>=1.4.2.1 && <1.5)
, fsnotify (>=0.2.1.1 && <0.3) || (>=0.3.0.1 && <0.4)
, generic-deriving (>=1.12.2 && <1.13) || (>=1.12.3 && <1.13)
, hackage-security >=0.5.3.0 && <0.6
, hashable >=1.2.7.0 && <1.3
, hpack (>=0.31.1 && <0.32) || (>=0.31.2 && <0.32)
, hpc >=0.6.0.3 && <0.7
, hspec (>=2.4.8 && <2.5) || (>=2.5.5 && <2.6) || (>=2.7.0 && <2.8)
, http-client (>=0.5.13.1 && <0.6) || (>=0.5.14 && <0.6) || (>=0.6.4 && <0.7)
, http-client-tls >=0.3.5.3 && <0.4
, http-conduit (>=2.3.2 && <2.4) || (>=2.3.7 && <2.4)
, http-types (>=0.12.1 && <0.13) || (>=0.12.2 && <0.13) || (>=0.12.3 && <0.13)
, memory (>=0.14.16 && <0.15) || (>=0.14.18 && <0.15)
, microlens (>=0.4.8.3 && <0.5) || (>=0.4.9.1 && <0.5) || (>=0.4.10 && <0.5)
, mintty >=0.1.2 && <0.2
, monad-logger (>=0.3.29 && <0.4) || (>=0.3.30 && <0.4)
, mono-traversable (>=1.0.9.0 && <1.1) || (>=1.0.11.0 && <1.1)
, mtl >=2.2.2 && <2.3
, mustache >=2.3.0 && <2.4
, neat-interpolation (>=0.3.2.1 && <0.4) || (>=0.3.2.2 && <0.4) || (>=0.3.2.4 && <0.4)
, network-uri >=2.6.1.0 && <2.7
, open-browser >=0.2.1.0 && <0.3
, optparse-applicative (>=0.14.2.0 && <0.15) || (>=0.14.3.0 && <0.15)
, path >=0.6.1 && <0.7
, path-io (>=1.3.3 && <1.4) || (>=1.4.2 && <1.5)
, persistent (>=2.7.1 && <2.8) || (>=2.8.2 && <2.9) || (>=2.9.2 && <2.10)
, persistent-sqlite (>=2.6.4 && <2.7) || (>=2.8.2 && <2.9) || (>=2.9.3 && <2.10)
, persistent-template (>=2.5.4 && <2.6) || (>=2.6.0 && <2.7)
, pretty (>=1.1.3.3 && <1.2) || (>=1.1.3.6 && <1.2)
, primitive (>=0.6.4.0 && <0.7) || (>=0.6.3.0 && <0.7) || (>=0.6.4.0 && <0.7)
, process (>=1.6.1.0 && <1.7) || (>=1.6.3.0 && <1.7) || (>=1.6.5.0 && <1.7)
, project-template >=0.2.0.1 && <0.3
, regex-applicative-text >=0.1.0.1 && <0.2
, resourcet (>=1.1.11 && <1.2) || (>=1.2.2 && <1.3)
, retry (>=0.7.6.3 && <0.8) || (>=0.7.7.0 && <0.8) || (>=0.8.0.0 && <0.9)
, rio (>= 0.1.8.0 && < 0.1.9) || (>=0.1.9.2 && <0.2)
, semigroups >=0.18.5 && <0.19
, smallcheck >=1.1.5 && <1.2
, split >=0.2.3.3 && <0.3
, stack
, stm (>=2.4.5.0 && <2.5) || (>=2.4.5.1 && <2.5) || (>=2.5.0.0 && <2.6)
, store (>=0.4.3.2 && <0.5) || (>=0.5.0.1 && <0.6)
, store-core >=0.4.4 && <0.5
, streaming-commons (>=0.1.19 && <0.2) || (>=0.2.1.0 && <0.3)
, tar >=0.5.1.0 && <0.6
, template-haskell (>=2.12.0.0 && <2.13) || (>=2.13.0.0 && <2.14) || (>=2.14.0.0 && <2.15)
, temporary (>=1.2.1.1 && <1.3) || (==1.3.*)
, text (>=1.2.3.0 && <1.3) || (>=1.2.3.1 && <1.3)
, text-metrics >=0.3.0 && <0.4
, th-reify-many >=0.1.8 && <0.2
, time >=1.8.0.2 && <1.9
, tls >=1.4.1 && <1.5
, transformers (>=0.5.2.0 && <0.6) || (>=0.5.5.0 && <0.6) || (>=0.5.6.2 && <0.6)
, typed-process (>=0.2.3.0 && <0.3) || (>=0.2.4.0 && <0.3)
, unicode-transforms (>=0.3.4 && <0.4) || (>=0.3.5 && <0.4)
, unix-compat (>=0.5.0.1 && <0.6) || (>=0.5.1 && <0.6)
, unliftio (>=0.2.10 && <0.3) || (>=0.2.8.1 && <0.3) || (>=0.2.10 && <0.3)
, unordered-containers (>=0.2.9.0 && <0.3) || (>=0.2.10.0 && <0.3)
, vector (>=0.12.0.1 && <0.13) || (>=0.12.0.2 && <0.13)
, yaml (>=0.10.4.0 && <0.11) || (>=0.11.0.0 && <0.12)
, zip-archive (>=0.3.3 && <0.4) || (==0.4.*)
, zlib >=0.6.2 && <0.7
if os(windows)
cpp-options: -DWINDOWS
build-depends:
Win32
else
build-tools:
hsc2hs
build-depends:
bindings-uname ==0.1.*
, unix >=2.7.2.2 && <2.8
default-language: Haskell2010

View file

@ -0,0 +1,11 @@
--- stack-2.15.7/src/Stack/Setup.hs~ 2024-05-12 22:50:14.000000000 +0800
+++ stack-2.15.7/src/Stack/Setup.hs 2024-08-02 01:11:32.252316054 +0800
@@ -2138,6 +2138,8 @@
Platform Sparc Cabal.Linux -> pure "linux-sparc"
Platform AArch64 Cabal.OSX -> pure "macosx-aarch64"
Platform AArch64 Cabal.FreeBSD -> pure "freebsd-aarch64"
+ Platform PPC64 Cabal.Linux -> pure "linux-ppc64"
+ Platform S390X Cabal.Linux -> pure "linux-s390x"
Platform arch os ->
prettyThrowM $ UnsupportedSetupCombo os arch tool toolDir programsDir

View file

@ -0,0 +1,38 @@
--- stack-2.9.3.1/src/Stack/Setup.hs~ 2023-06-22 18:40:54.000000000 +0800
+++ stack-2.9.3.1/src/Stack/Setup.hs 2023-08-08 14:29:43.486062926 +0800
@@ -719,12 +719,12 @@
logWarn "For more information, see: https://github.com/commercialhaskell/stack/issues/648"
logWarn ""
pure True
- | ghcVersion >= mkVersion [9, 5] -> do
- logWarn $
- "Stack has not been tested with GHC versions above 9.4, and using " <>
- fromString (versionString ghcVersion) <>
- ", this may fail"
- pure True
+ -- | ghcVersion >= mkVersion [9, 5] -> do
+ -- logWarn $
+ -- "Stack has not been tested with GHC versions above 9.4, and using " <>
+ -- fromString (versionString ghcVersion) <>
+ -- ", this may fail"
+ -- pure True
| otherwise -> do
logDebug "Asking for a supported GHC version"
pure False
@@ -746,11 +746,11 @@
logWarn "This invocation will most likely fail."
logWarn "To fix this, either use an older version of Stack or a newer resolver"
logWarn "Acceptable resolvers: lts-3.0/nightly-2015-05-05 or later"
- | cabalVersion >= mkVersion [3, 9] ->
- logWarn $
- "Stack has not been tested with Cabal versions above 3.8, but version " <>
- fromString (versionString cabalVersion) <>
- " was found, this may fail"
+ -- | cabalVersion >= mkVersion [3, 9] ->
+ -- logWarn $
+ -- "Stack has not been tested with Cabal versions above 3.8, but version " <>
+ -- fromString (versionString cabalVersion) <>
+ -- " was found, this may fail"
| otherwise -> pure ()
-- | Ensure that the msys toolchain is installed if necessary and

View file

@ -0,0 +1,49 @@
diff -up stack-2.15.7/src/Stack/Config.hs~ stack-2.15.7/src/Stack/Config.hs
--- stack-2.15.7/src/Stack/Config.hs~ 2024-05-12 22:50:13.000000000 +0800
+++ stack-2.15.7/src/Stack/Config.hs 2024-08-02 01:21:01.138918479 +0800
@@ -435,9 +435,9 @@ configFromConfigMonoid
fromFirst Constants.hackageBaseUrl configMonoid.hackageBaseUrl
hideSourcePaths = fromFirstTrue configMonoid.hideSourcePaths
recommendUpgrade = fromFirstTrue configMonoid.recommendUpgrade
- notifyIfNixOnPath = fromFirstTrue configMonoid.notifyIfNixOnPath
- notifyIfGhcUntested = fromFirstTrue configMonoid.notifyIfGhcUntested
- notifyIfCabalUntested = fromFirstTrue configMonoid.notifyIfCabalUntested
+ notifyIfNixOnPath = fromFirstFalse configMonoid.notifyIfNixOnPath
+ notifyIfGhcUntested = fromFirstFalse configMonoid.notifyIfGhcUntested
+ notifyIfCabalUntested = fromFirstFalse configMonoid.notifyIfCabalUntested
notifyIfArchUnknown = fromFirstTrue configMonoid.notifyIfArchUnknown
noRunCompile = fromFirstFalse configMonoid.noRunCompile
allowDifferentUser <-
diff -up stack-2.15.7/src/Stack/Types/ConfigMonoid.hs~ stack-2.15.7/src/Stack/Types/ConfigMonoid.hs
--- stack-2.15.7/src/Stack/Types/ConfigMonoid.hs~ 2024-05-12 22:50:14.000000000 +0800
+++ stack-2.15.7/src/Stack/Types/ConfigMonoid.hs 2024-08-02 01:20:22.724711778 +0800
@@ -170,11 +170,11 @@ data ConfigMonoid = ConfigMonoid
-- ^ See 'configHideSourcePaths'
, recommendUpgrade :: !FirstTrue
-- ^ See 'configRecommendUpgrade'
- , notifyIfNixOnPath :: !FirstTrue
+ , notifyIfNixOnPath :: !FirstFalse
-- ^ See 'configNotifyIfNixOnPath'
- , notifyIfGhcUntested :: !FirstTrue
+ , notifyIfGhcUntested :: !FirstFalse
-- ^ See 'configNotifyIfGhcUntested'
- , notifyIfCabalUntested :: !FirstTrue
+ , notifyIfCabalUntested :: !FirstFalse
-- ^ See 'configNotifyIfCabalUntested'
, notifyIfArchUnknown :: !FirstTrue
-- ^ See 'configNotifyIfArchUnknown'
@@ -317,11 +317,11 @@ parseConfigMonoidObject rootDir obj = do
let styles = fromMaybe mempty $ configMonoidStylesUS <|> configMonoidStylesGB
hideSourcePaths <- FirstTrue <$> obj ..:? configMonoidHideSourcePathsName
recommendUpgrade <- FirstTrue <$> obj ..:? configMonoidRecommendUpgradeName
- notifyIfNixOnPath <- FirstTrue <$> obj ..:? configMonoidNotifyIfNixOnPathName
+ notifyIfNixOnPath <- FirstFalse <$> obj ..:? configMonoidNotifyIfNixOnPathName
notifyIfGhcUntested <-
- FirstTrue <$> obj ..:? configMonoidNotifyIfGhcUntestedName
+ FirstFalse <$> obj ..:? configMonoidNotifyIfGhcUntestedName
notifyIfCabalUntested <-
- FirstTrue <$> obj ..:? configMonoidNotifyIfCabalUntestedName
+ FirstFalse <$> obj ..:? configMonoidNotifyIfCabalUntestedName
notifyIfArchUnknown <-
FirstTrue <$> obj ..:? configMonoidNotifyIfArchUnknownName
casaOpts <- jsonSubWarnings (obj ..:? configMonoidCasaOptsName ..!= mempty)

51
stack-symlink-distro-ghc Executable file
View file

@ -0,0 +1,51 @@
#!/bin/sh
VERSION=$1
if [ -z "$VERSION" ]; then
echo "Usage: $0 X.Y.Z"
exit 1
fi
#set +x
#FIXME lib
LIBDIR=/usr/lib64/ghc-$VERSION
if [ ! -d "$LIBDIR" ]; then
echo "$0: $LIBDIR does not exist: please install ghcX.Y first"
exit 1
fi
ARCH=$(arch)
# stack/Cabal doesn't know ppc64le
if [ "$ARCH" = "ppc64le" ]; then
ARCH=ppc64
fi
STACK_PROGRAMS=$HOME/.stack/programs/$ARCH-linux
STACK_GHCDIR=${STACK_PROGRAMS}/ghc-tinfo6-$VERSION
if [ -e "$STACK_GHCDIR" ]; then
echo "$0: $STACK_GHCDIR exists: to replace, please remove first"
exit 0
fi
mkdir -p $STACK_GHCDIR/bin
for i in ghc ghc-pkg ghci hp2ps hpc hsc2hs runghc runhaskell; do
if [ -x /usr/bin/$i-$VERSION ]; then
ln -s /usr/bin/$i-$VERSION $STACK_GHCDIR/bin/$i
elif [ -x /usr/bin/$i-ghc-$VERSION ]; then
ln -s /usr/bin/$i-ghc-$VERSION $STACK_GHCDIR/bin/$i
else
ln -s /usr/bin/$i $STACK_GHCDIR/bin/$i
fi
done
ln -s /usr/bin/haddock-ghc-$VERSION $STACK_GHCDIR/bin/haddock
if [ ! -f "${STACK_GHCDIR}.installed" ]; then
echo "installed" > $STACK_GHCDIR.installed
fi