Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Feb 5, 2023
1 parent 81f9c59 commit 9413565
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
haskell-flake.url = "github:srid/haskell-flake";
haskell-flake.url = "github:srid/haskell-flake/devShellSubmodule";
treefmt-nix.url = "github:numtide/treefmt-nix";
flake-root.url = "github:srid/flake-root";
mission-control.url = "github:Platonic-Systems/mission-control";
Expand All @@ -25,9 +25,6 @@
packages = {
haskell-template.root = ./.;
};
buildTools = hp: {
treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs;
overrides =
let
nixpkgsWorkaround =
Expand All @@ -48,8 +45,13 @@
lib.composeExtensions nixpkgsWorkaround (self: super: {
# Add your own overrides here.
});
hlsCheck.enable = false;
hlintCheck.enable = true;
devShell = {
tools = hp: {
treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs;
hlsCheck.enable = false;
hlintCheck.enable = true;
};
};

# Auto formatters. This also adds a flake check to ensure that the
Expand Down

0 comments on commit 9413565

Please sign in to comment.