forked from AndrasKovacs/flatparse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
27 lines (27 loc) · 995 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
inputs = {
#nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
#flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
};
outputs = inputs@{ nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = nixpkgs.lib.systems.flakeExposed;
imports = [ inputs.haskell-flake.flakeModule ];
perSystem = { self', pkgs, ... }: {
haskellProjects.default = {
haskellPackages = pkgs.haskell.packages.ghc944;
#haskellPackages = pkgs.haskell.packages.ghc925;
#haskellPackages = pkgs.haskell.packages.ghc810;
packages = {
flatparse.root = ./.;
};
# 2023-01-12 raehik: ghcid seems broken on nixpkgs GHC 9.4.{3,4}
buildTools = hp: { ghcid = null; hls = null; };
# overrides = self: super: { }
# hlintCheck.enable = true;
# hlsCheck.enable = true;
};
};
};
}