-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adopt Stack lts-19.11 (and GHC902), add Nix Shell
- Loading branch information
Showing
5 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/22.05.tar.gz) { } | ||
, ghcVersion ? "ghc902" | ||
, ... | ||
}: | ||
|
||
with pkgs; | ||
|
||
haskell.lib.buildStackProject rec { | ||
name = "haspara-devshell"; | ||
src = ./.; | ||
ghc = haskell.packages.${ghcVersion}.ghc; | ||
buildInputs = [ | ||
haskell-language-server | ||
haskellPackages.weeder | ||
hlint | ||
stack | ||
stylish-haskell | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
resolver: lts-18.28 | ||
|
||
packages: | ||
- . | ||
|
||
ghc-options: | ||
"$locals": -fwrite-ide-info | ||
|
||
nix: | ||
enable: true | ||
shell-file: shell.nix | ||
nix-shell-options: | ||
- "--arg" | ||
- "ghcVersion=ghc8107" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file was autogenerated by Stack. | ||
# You should not edit this file by hand. | ||
# For more information, please see the documentation at: | ||
# https://docs.haskellstack.org/en/stable/lock_files | ||
|
||
packages: [] | ||
snapshots: | ||
- completed: | ||
sha256: 428ec8d5ce932190d3cbe266b9eb3c175cd81e984babf876b64019e2cbe4ea68 | ||
size: 590100 | ||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/28.yaml | ||
original: lts-18.28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
resolver: lts-18.27 | ||
resolver: lts-19.11 | ||
|
||
packages: | ||
- . | ||
|
||
ghc-options: | ||
"$locals": -fwrite-ide-info | ||
|
||
nix: | ||
enable: true | ||
shell-file: shell.nix | ||
nix-shell-options: | ||
- "--arg" | ||
- "ghcVersion=ghc902" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters