From db373a8c727cad91d375b40a6c70b11ed73bdafb Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 1 Apr 2024 13:30:45 -0400 Subject: 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. --- Biz/Dragons/Analysis.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Biz/Dragons') 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" ]; } -- cgit v1.2.3