Skip to content

Commit

Permalink
Fix infinite recursion in hlint definition
Browse files Browse the repository at this point in the history
  • Loading branch information
balsoft authored and sashasashasasha151 committed Feb 20, 2021
1 parent 49cba35 commit 4a6e6d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions backend/.#default.nix
6 changes: 3 additions & 3 deletions backend/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ haskell-nix, runCommand, lib }:
{ haskell-nix, runCommand, lib, hlint }:
let
ignoreFilter = path: type:
let
Expand Down Expand Up @@ -40,5 +40,5 @@ let
library = project.edna.components.library;
server = project.edna.components.exes.edna-server;
test = project.edna.checks.edna-test;
hlint = runCommand "hlint.html" {} '' ${hlint}/bin/hlint ${source} --no-exit-code --report=$out -j '';
in { inherit server test library hlint; }
hlint-html = runCommand "hlint.html" {} "${hlint}/bin/hlint ${source} --no-exit-code --report=$out -j";
in { inherit server test library; hlint = hlint-html; }

0 comments on commit 4a6e6d2

Please sign in to comment.