From f383a7a8012581197d69474c724c084875f46872 Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Sat, 7 Sep 2024 01:38:32 -0400 Subject: [PATCH] Add `formatter.x86_64-linux`. ... If I ever remember that `nix fmt` exists, of course. --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/flake.nix b/flake.nix index 88f56c2..9b0c66f 100644 --- a/flake.nix +++ b/flake.nix @@ -420,6 +420,20 @@ */ }; + formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style; + /* + Some options: + - nixpkgs.legacyPackages.x86_64-linux.alejandra + - nixpkgs.legacyPackages.x86_64-linux.nixfmt-classic + - nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style + - nixpkgs.legacyPackages.x86_64-linux.treefmt + - Didn't figure it out + - Seems too... "Meh" + + Related but not formatters: + - nixpkgs.legacyPackages.x86_64-linux.deadnix + */ + packages.x86_64-linux = { binaryobjectscanner = pkgs.callPackage ./home/packages/binaryobjectscanner/package.nix {}; hactoolnet = pkgs.callPackage ./home/packages/hactoolnet/package.nix {};