diff options
author | Ben Sima <ben@bsima.me> | 2024-04-01 13:30:45 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2024-04-01 13:30:45 -0400 |
commit | db373a8c727cad91d375b40a6c70b11ed73bdafb (patch) | |
tree | a7ed24e98242b6e38f44cb0c9884718d248cc613 /Biz/Dragons | |
parent | 5c8ef1bf4dff4fc7c6e66a57673a81477bcc850a (diff) |
Add nixfmt to Lint.hs
nixfmt is the soon-to-be official formatter for Nix code, as per the NixOS
GitHub group. So I figure I should just adopt it without worrying too much about
the specifics of the formatting. I just formatted everything in one go, hence
the huge diff, oh well.
Diffstat (limited to 'Biz/Dragons')
-rw-r--r-- | Biz/Dragons/Analysis.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Biz/Dragons/Analysis.nix b/Biz/Dragons/Analysis.nix index de431a7..49a76e0 100644 --- a/Biz/Dragons/Analysis.nix +++ b/Biz/Dragons/Analysis.nix @@ -1,4 +1,4 @@ -{ nixpkgs ? import ../Bild.nix {} }: +{ nixpkgs ? import ../Bild.nix { } }: with nixpkgs; # Run this like so: # @@ -12,9 +12,6 @@ bild.image { fromImage = null; fromImageName = null; fromImageTag = "latest"; - contents = [ - bild.pkgs.git - (bild.run ./Analysis.hs) - ]; + contents = [ bild.pkgs.git (bild.run ./Analysis.hs) ]; config.Cmd = [ "/bin/dragons-analyze" ]; } |