Skip to content

Commit

Permalink
nix: use the matching weeder
Browse files Browse the repository at this point in the history
  • Loading branch information
robx committed Jun 3, 2022
1 parent cc9ba3f commit a8aa915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ rec {
inherit postgrest devCabalOptions withTools;
ghc = pkgs.haskell.compiler."${compiler}";
inherit (pkgs.haskell.packages."${compiler}") hpc-codecov;
inherit (pkgs.haskell.packages."${compiler}") weeder;
};

withTools =
Expand Down
4 changes: 2 additions & 2 deletions nix/tools/tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
, ghc
, glibcLocales
, gnugrep
, haskellPackages
, hpc-codecov
, jq
, postgrest
, python3
, runtimeShell
, weeder
, withTools
, yq
}:
Expand Down Expand Up @@ -135,7 +135,7 @@ let
(
trap 'echo Found dead code: Check file list above.' ERR ;
${haskellPackages.weeder}/bin/weeder --config=./test/weeder.dhall
${weeder}/bin/weeder --config=./test/weeder.dhall
)
# collect all tests
Expand Down

0 comments on commit a8aa915

Please sign in to comment.