Skip to content

Commit

Permalink
Use ghc 8.10.6 in nix build
Browse files Browse the repository at this point in the history
Update nix build script and github workflow configuration to use ghc 8.10.6
instead of 8.10.4.
  • Loading branch information
8c6794b6 committed Aug 27, 2021
1 parent 652e673 commit 5e4ca4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:
# - nixpkgs: "channel:nixos-20.09"
# compiler: "ghc884"
- nixpkgs: "channel:nixos-unstable"
compiler: "ghc8104"
compiler: "ghc8106"
# - nixpkgs: "channel:nixos-unstable"
# compiler: "ghc901"

Expand All @@ -245,13 +245,13 @@ jobs:
run: nix-build --argstr compiler ${{ matrix.compiler }}

- name: Build container image stream
if: matrix.compiler == 'ghc8104' && github.ref == 'refs/heads/master'
if: matrix.compiler == 'ghc8106' && github.ref == 'refs/heads/master'
run: |
nix-build --argstr compiler ${{ matrix.compiler }} ./nix/docker.nix
echo "image_stream=$(readlink result)" >> $GITHUB_ENV
- name: Push image to ghcr.io
if: matrix.compiler == 'ghc8104' && github.ref == 'refs/heads/master'
if: matrix.compiler == 'ghc8106' && github.ref == 'refs/heads/master'
env:
CRED: ${{ secrets.GHCR_USER }}:${{ secrets.GHCR_PAT }}
FROM: docker-archive:/dev/stdin
Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
nixpkgs ? <nixpkgs>,
compiler ? "ghc8104"
compiler ? "ghc8106"
}:

let
Expand Down

0 comments on commit 5e4ca4e

Please sign in to comment.