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); }; }