nix-attr-search/utils/ormolu.nix

5 lines
142 B
Nix

{ pkgs, ... }:
pkgs.writeScriptBin "nix-attrs-search-ormolu" ''
find -name '*.hs' -exec '${pkgs.ormolu}/bin/ormolu' --mode inplace {} \;
''