Skip to content

Commit 3b19c86

Browse files
committed
upgrade nix dependencies
This updates the flake and since we haven't hacked on this for ages the overlays aren't needed any more since all of them are now available as builds.
1 parent 550ccad commit 3b19c86

11 files changed

+36
-177
lines changed

.github/workflows/haskell-ci.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.17.20231010
11+
# version: 0.18.1
1212
#
13-
# REGENDATA ("0.17.20231010",["--hlint","--hlint-job","9.4.7","--haddock","--apt","elinks tmux vim less notmuch libnotmuch-dev libtalloc-dev","--github-patches",".github/haskell-ci-github.patch","github","purebred.cabal"])
13+
# REGENDATA ("0.18.1",["--hlint","--hlint-job","9.4.7","--haddock","--apt","elinks tmux vim less notmuch libnotmuch-dev libtalloc-dev","--github-patches",".github/haskell-ci-github.patch","github","purebred.cabal"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -23,7 +23,7 @@ jobs:
2323
timeout-minutes:
2424
60
2525
container:
26-
image: buildpack-deps:bionic
26+
image: buildpack-deps:jammy
2727
continue-on-error: ${{ matrix.allow-failure }}
2828
strategy:
2929
matrix:
@@ -71,20 +71,20 @@ jobs:
7171
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
7272
if [ "${{ matrix.setup-method }}" = ghcup ]; then
7373
mkdir -p "$HOME/.ghcup/bin"
74-
curl -sL https://downloads.haskell.org/ghcup/0.1.19.5/x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
74+
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
7575
chmod a+x "$HOME/.ghcup/bin/ghcup"
7676
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
77-
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
77+
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
7878
apt-get update
7979
apt-get install -y elinks less libnotmuch-dev libtalloc-dev notmuch tmux vim
8080
else
8181
apt-add-repository -y 'ppa:hvr/ghc'
8282
apt-get update
8383
apt-get install -y "$HCNAME" elinks less libnotmuch-dev libtalloc-dev notmuch tmux vim
8484
mkdir -p "$HOME/.ghcup/bin"
85-
curl -sL https://downloads.haskell.org/ghcup/0.1.19.5/x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
85+
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
8686
chmod a+x "$HOME/.ghcup/bin/ghcup"
87-
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
87+
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
8888
fi
8989
env:
9090
HCKIND: ${{ matrix.compilerKind }}
@@ -104,13 +104,13 @@ jobs:
104104
echo "HC=$HC" >> "$GITHUB_ENV"
105105
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
106106
echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
107-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
107+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
108108
else
109109
HC=$HCDIR/bin/$HCKIND
110110
echo "HC=$HC" >> "$GITHUB_ENV"
111111
echo "HCPKG=$HCDIR/bin/$HCKIND-pkg" >> "$GITHUB_ENV"
112112
echo "HADDOCK=$HCDIR/bin/haddock" >> "$GITHUB_ENV"
113-
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
113+
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
114114
fi
115115
116116
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
@@ -162,7 +162,7 @@ jobs:
162162
- name: cache (tools)
163163
uses: actions/cache/restore@v3
164164
with:
165-
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-6a3a2bb8
165+
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-fa5cc97b
166166
path: ~/.haskell-ci-tools
167167
- name: install cabal-plan
168168
run: |
@@ -183,7 +183,7 @@ jobs:
183183
uses: actions/cache/save@v3
184184
if: always()
185185
with:
186-
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-6a3a2bb8
186+
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-fa5cc97b
187187
path: ~/.haskell-ci-tools
188188
- name: checkout
189189
uses: actions/checkout@v3

.nix/bimap.nix

-15
This file was deleted.

.nix/brick.nix

-26
This file was deleted.

.nix/hsnotmuch.nix

-18
This file was deleted.

.nix/overlays.nix

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
let
2-
haskellCompilerVersion = "ghc924";
2+
haskellCompilerVersion = "ghc92";
33
haskellPackagesOverlay = self: super: with super.haskell.lib; {
44
haskellPackages = super.haskell.packages.${haskellCompilerVersion}.override {
55
overrides = hself: hsuper: {
66
purebred = hsuper.callPackage ./purebred.nix { };
7-
purebred-email = hsuper.callPackage ./purebred-email.nix { };
87
purebred-icu = hsuper.callPackage ./purebred-icu.nix { };
9-
brick = hsuper.callPackage ./brick.nix { };
10-
text-zipper = hsuper.callPackage ./text-zipper.nix { };
11-
bimap = hsuper.callPackage ./bimap.nix { };
12-
vty = hsuper.callPackage ./vty.nix { };
13-
vty-unix = hsuper.callPackage ./vty-unix.nix { };
14-
vty-crossplatform = hsuper.callPackage ./vty-crossplatform.nix { };
15-
notmuch = hsuper.callPackage ./hsnotmuch.nix {
16-
notmuch = self.pkgs.notmuch;
17-
talloc = self.pkgs.talloc;
18-
};
198
};
209
};
2110
make-purebred-with-packages = with-icu:

.nix/purebred-email.nix

-25
This file was deleted.

.nix/text-zipper.nix

-13
This file was deleted.

.nix/vty-crossplatform.nix

-11
This file was deleted.

.nix/vty-unix.nix

-21
This file was deleted.

.nix/vty.nix

-19
This file was deleted.

flake.lock

+24-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)