Skip to content

Commit d5f404b

Browse files
Damien Biasottolewalkingdad
authored andcommitted
Use GHC 8.10.7 for basic M1 support
1 parent 3dd94fa commit d5f404b

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22
jobs:
33
build:
44
docker:
5-
- image: fpco/stack-build:lts-16.16
5+
- image: fpco/stack-build:lts-18.23
66
steps:
77
- checkout
88
- restore_cache:

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/7e9b0dff974c89e070da1ad85713ff3c20b0ca97.tar.gz") {}, compiler ? "ghc8104" }:
1+
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca.tar.gz") {}, compiler ? "ghc8107" }:
22
pkgs.pkgs.haskell.packages.${compiler}.callPackage ./haskellings.nix { }

haskellings.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
}:
55
mkDerivation {
66
pname = "haskellings";
7-
version = "0.9.0.0";
7+
version = "0.9.1.0";
88
src = ./.;
99
isLibrary = true;
1010
isExecutable = true;

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: haskellings
2-
version: 0.9.0.0
2+
version: 0.9.2.0
33
github: "MondayMorningHaskell/haskellings"
44
license: BSD3
55
author: "James Bowen"

shell.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/7e9b0dff974c89e070da1ad85713ff3c20b0ca97.tar.gz") {}, compiler ? "ghc8104" }:
1+
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca.tar.gz") {}, compiler ? "ghc8107" }:
22

33
pkgs.mkShell {
4-
buildInputs = with pkgs; [
5-
haskell.compiler.ghc8104
4+
buildInputs = with pkgs; [
5+
haskell.compiler.ghc8107
66
which
77
(import ./default.nix { inherit pkgs compiler; })
88
];
99

1010
shellHook = ''
1111
__GHCPATH=$(echo $(which ghc))
12-
echo "ghc_path: $__GHCPATH" > config.yaml
12+
echo "ghc_path: $__GHCPATH" > config.yaml
1313
'';
1414
}

src/Haskellings/Constants.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ import System.Environment
3636
-- | The GHC version currently used by Haskellings. We use this
3737
-- to locate the appropriate GHC executable.
3838
ghcVersion :: String
39-
ghcVersion = "ghc-8.10.4"
39+
ghcVersion = "ghc-8.10.7"
4040

4141
-- | The version number, isolated from any prefix. Also helps in
4242
-- finding certain directories.
4343
ghcVersionNumber :: String
44-
ghcVersionNumber = "8.10.4"
44+
ghcVersionNumber = "8.10.7"
4545

4646
-- | The current Haskellings program version.
4747
haskellingsVersion :: String
48-
haskellingsVersion = "0.9.0.0"
48+
haskellingsVersion = "0.9.1.0"
4949

5050
-- | The project root directory name. We need to find the project root
5151
-- in order to locate the exercises.

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# resolver: ./custom-snapshot.yaml
1919
# resolver: https://example.com/snapshots/2018-01-01.yaml
20-
resolver: lts-18.4
20+
resolver: lts-18.23
2121

2222
# User packages to be built.
2323
# Various formats can be used as shown in the example below.

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
packages: []
77
snapshots:
88
- completed:
9-
size: 585817
10-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/4.yaml
11-
sha256: ea3a318eafa9e9cc56bfbe46099fd0d54d32641ab7bbe1d182ed8f5de39f804c
12-
original: lts-18.4
9+
size: 587819
10+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/23.yaml
11+
sha256: 7f69bb29a57495586e7e3ed31ecc59c0d2c959cb23bd52b71ca676f254c9beb1
12+
original: lts-18.23

0 commit comments

Comments
 (0)