summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/patches
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-04-09 15:36:29 +0200
committersternenseemann <sternenseemann@systemli.org>2023-04-09 15:36:29 +0200
commit049eb388ebaadc7905a7177f5df28788eed43a35 (patch)
tree399a0036b03978b28e27e19b5e59a3d864ae7214 /pkgs/development/haskell-modules/patches
parent70bcbfe4f7eea20eadb4928292f9782a509378d3 (diff)
downloadnixpkgs-049eb388ebaadc7905a7177f5df28788eed43a35.tar
nixpkgs-049eb388ebaadc7905a7177f5df28788eed43a35.tar.gz
nixpkgs-049eb388ebaadc7905a7177f5df28788eed43a35.tar.bz2
nixpkgs-049eb388ebaadc7905a7177f5df28788eed43a35.tar.lz
nixpkgs-049eb388ebaadc7905a7177f5df28788eed43a35.tar.xz
nixpkgs-049eb388ebaadc7905a7177f5df28788eed43a35.tar.zst
nixpkgs-049eb388ebaadc7905a7177f5df28788eed43a35.zip
haskellPackages.haskell-ci: adjust to 0.16
- Drop patch which was a backport of a now released upstream change.

- Drop scope overrides where upstream constraints are compatible with LTS-20.

haskellPackages.cabal-install-parsers_0_4_5: remove at 0.4.5

No longer necessary for haskell-ci which is why we had it.
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r--pkgs/development/haskell-modules/patches/haskell-ci-optparse-applicative-0.17-ShellCheck-0.8.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/pkgs/development/haskell-modules/patches/haskell-ci-optparse-applicative-0.17-ShellCheck-0.8.patch b/pkgs/development/haskell-modules/patches/haskell-ci-optparse-applicative-0.17-ShellCheck-0.8.patch
deleted file mode 100644
index c1e1663627f..00000000000
--- a/pkgs/development/haskell-modules/patches/haskell-ci-optparse-applicative-0.17-ShellCheck-0.8.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 0cc6f0f8de1776d0b5851459d22a0997dfd735ce Mon Sep 17 00:00:00 2001
-From: Oleg Grenrus <oleg.grenrus@iki.fi>
-Date: Wed, 25 May 2022 14:09:49 +0300
-Subject: [PATCH] Use ShellCheck-0.8.0 and optparse-applicative-0.17
-
-Adapted from 0cc6f0f8de1776d0b5851459d22a0997dfd735ce to apply on top of
-haskell-ci-0.14.3.
-
-Co-Authored-By: sternenseemann <sternenseemann@systemli.org>
-
----
- haskell-ci.cabal        | 4 ++--
- src/HaskellCI/GitHub.hs | 7 ++++---
- 2 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/haskell-ci.cabal b/haskell-ci.cabal
-index 273bd422..6848402c 100644
---- a/haskell-ci.cabal
-+++ b/haskell-ci.cabal
-@@ -167,14 +167,14 @@ library haskell-ci-internal
-     , ini                            ^>=0.4.1
-     , lattices                       ^>=2
-     , network-uri                    ^>=2.6.1.0
--    , optparse-applicative           ^>=0.16.1.0
-+    , optparse-applicative           ^>=0.17.0.0
-     , temporary                      ^>=1.3
-     , unordered-containers           ^>=0.2.10.0
-     , zinza                          ^>=0.2
- 
-   -- ShellCheck. Would need newer transformers for older GHC
-   if flag(shellcheck)
--    build-depends: ShellCheck ==0.7.2
-+    build-depends: ShellCheck ==0.8.0
- 
- executable haskell-ci
-   main-is:          Main.hs
-diff --git a/src/HaskellCI/GitHub.hs b/src/HaskellCI/GitHub.hs
-index f1a402e6..a2c6e4f6 100644
---- a/src/HaskellCI/GitHub.hs
-+++ b/src/HaskellCI/GitHub.hs
-@@ -653,9 +653,10 @@ makeGitHub _argv config@Config {..} gitconfig prj jobs@JobVersions {..} = do
-     setup hvrppa ghcup
-         | allGHCUP     = traverse_ liftSh ghcup
-         | not anyGHCUP = traverse_ liftSh hvrppa
--        -- 2192: ${{ ...}} will match (ShellCheck think it doesn't)
--        -- 2129: individual redirects
--        | otherwise    = sh' [2193, 2129] $ unlines $
-+        -- SC2192: ${{ ...}} will match (ShellCheck think it doesn't)
-+        -- SC2129: individual redirects
-+        -- SC2296: Parameter expansions can't start with {. Double check syntax. -- ${{ }} in YAML templating.
-+        | otherwise    = sh' [2193, 2129, 2296] $ unlines $
-             [ "if [ \"${{ matrix.setup-method }}\" = ghcup ]; then"
-             ] ++
-             [ "  " ++ shToString s