From 167a4ea0aec93d51e4c606ffdbe3a195d12da6e3 Mon Sep 17 00:00:00 2001 From: sntx <48636286+Sntx626@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:55:22 +0200 Subject: [PATCH] fix: Changes outputs, `nix flake show` now completes (#280) Removed the `default` attribute from `outputs.formatter.`, instead parse the formatter derivation directly. This fixes the issue that `nix flake show` doesn't complete. Co-authored-by: sntx --- flake.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index d71313cf..7af8fe82 100644 --- a/flake.nix +++ b/flake.nix @@ -60,8 +60,6 @@ } ); - formatter = nixpkgs.lib.genAttrs targetSystems (system: { - default = (pkgsFor system).nixfmt-rfc-style; - }); + formatter = nixpkgs.lib.genAttrs targetSystems (system: (pkgsFor system).nixfmt-rfc-style); }; }