nix-attr-search/utils/ormolu.nix

5 lines
142 B
Nix
Raw Normal View History

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