Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1
jobs:
build:
docker:
- image: fpco/stack-build:lts-16.16
- image: fpco/stack-build:lts-18.23
steps:
- checkout
- restore_cache:
Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/7e9b0dff974c89e070da1ad85713ff3c20b0ca97.tar.gz") {}, compiler ? "ghc8104" }:
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca.tar.gz") {}, compiler ? "ghc8107" }:
pkgs.pkgs.haskell.packages.${compiler}.callPackage ./haskellings.nix { }
2 changes: 1 addition & 1 deletion haskellings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}:
mkDerivation {
pname = "haskellings";
version = "0.9.0.0";
version = "0.9.1.0";
src = ./.;
isLibrary = true;
isExecutable = true;
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: haskellings
version: 0.9.0.0
version: 0.9.2.0
github: "MondayMorningHaskell/haskellings"
license: BSD3
author: "James Bowen"
Expand Down
8 changes: 4 additions & 4 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/7e9b0dff974c89e070da1ad85713ff3c20b0ca97.tar.gz") {}, compiler ? "ghc8104" }:
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/6c4b9f1a2fd761e2d384ef86cff0d208ca27fdca.tar.gz") {}, compiler ? "ghc8107" }:

pkgs.mkShell {
buildInputs = with pkgs; [
haskell.compiler.ghc8104
buildInputs = with pkgs; [
haskell.compiler.ghc8107
which
(import ./default.nix { inherit pkgs compiler; })
];

shellHook = ''
__GHCPATH=$(echo $(which ghc))
echo "ghc_path: $__GHCPATH" > config.yaml
echo "ghc_path: $__GHCPATH" > config.yaml
'';
}
6 changes: 3 additions & 3 deletions src/Haskellings/Constants.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ import System.Environment
-- | The GHC version currently used by Haskellings. We use this
-- to locate the appropriate GHC executable.
ghcVersion :: String
ghcVersion = "ghc-8.10.4"
ghcVersion = "ghc-8.10.7"

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

-- | The current Haskellings program version.
haskellingsVersion :: String
haskellingsVersion = "0.9.0.0"
haskellingsVersion = "0.9.1.0"

-- | The project root directory name. We need to find the project root
-- in order to locate the exercises.
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-18.4
resolver: lts-18.23

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down
8 changes: 4 additions & 4 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
packages: []
snapshots:
- completed:
size: 585817
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/4.yaml
sha256: ea3a318eafa9e9cc56bfbe46099fd0d54d32641ab7bbe1d182ed8f5de39f804c
original: lts-18.4
size: 587819
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/23.yaml
sha256: 7f69bb29a57495586e7e3ed31ecc59c0d2c959cb23bd52b71ca676f254c9beb1
original: lts-18.23