From 30a1993130455ee25d8669e69d8a8b25e4ae4c41 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 9 Oct 2024 20:10:41 -0400 Subject: [PATCH] flake: use forAllSystems for formatter --- flake.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index f630ed7d..56d35e3e 100644 --- a/flake.nix +++ b/flake.nix @@ -141,9 +141,6 @@ }; }; - formatter = { - x86_64-linux = x86_64-linux.nixfmt-rfc-style; - aarch64-linux = aarch64-linux.nixfmt-rfc-style; - }; + formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style); }; }