nix-attr-search/utils/ormolu.nix

5 lines
141 B
Nix
Raw Normal View History

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