nix-attr-search/utils/hlint.nix

5 lines
123 B
Nix

{ pkgs, ... }:
pkgs.writeScriptBin "nix-attr-search-hlint" ''
find -name '*.hs' -exec '${pkgs.hlint}/bin/hlint' {} \;
''