From 9fe3c86fb3a96187fc058a72490c03b6d5b101a0 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Fri, 18 Sep 2026 14:40:38 +0200 Subject: Fix nix flake check warnings; record first successful check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename nixfmt-rfc-style to its current canonical name nixfmt, and add meta.description to the bootstrap-host app to clear its warning. Records the first successful `nix flake check` run (on a Linux machine with Nix, since this Mac still doesn't have it) across all four implemented changes so far — no errors, only these now-fixed warnings. --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 4efe54b..3ccea5e 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,7 @@ }; }; - formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); + formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt); devShells = forAllSystems (system: let @@ -61,7 +61,7 @@ in { default = pkgs.mkShell { - packages = [ pkgs.statix pkgs.deadnix pkgs.nixfmt-rfc-style ]; + packages = [ pkgs.statix pkgs.deadnix pkgs.nixfmt ]; }; }); @@ -76,6 +76,7 @@ name = "bootstrap-host"; runtimeInputs = [ pkgs.coreutils pkgs.gnused ]; text = builtins.readFile ./scripts/bootstrap-host.sh; + meta.description = "Scaffold a new NixOS host from hosts/template"; }}/bin/bootstrap-host"; }; }); -- cgit v1.3