From ed7fdc24c63424f3bcb521fc7c3bd08af1164983 Mon Sep 17 00:00:00 2001 From: Jan Kremer Date: Tue, 2 Jul 2024 18:00:53 +0200 Subject: [PATCH] flake: Universal formatter --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 55852c4..b043e5e 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,6 @@ in { devShells = forAllSystems devShell; - formatter.x86_64-darwin = nixpkgs.legacyPackages.x86_64-darwin.nixfmt-rfc-style; + formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); }; }