From 3ca680bbc8f37f34190a730dabbe35ab187ce340 Mon Sep 17 00:00:00 2001 From: KP64 Date: Thu, 16 Jul 2026 11:15:59 +0200 Subject: [PATCH] chore: add nix metadata The metadata allow easier usage of the flake's package in regards to the `getExe` function. --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index bcdc372..d60ffb2 100644 --- a/flake.nix +++ b/flake.nix @@ -72,6 +72,13 @@ }) ]; cargoLock.lockFile = ./Cargo.lock; + + meta = { + description = "A formatter for Nushell scripts, built entirely on Nushell's own parsing infrastructure"; + homepage = "https://github.com/nushell/nufmt"; + license = inputs.nixpkgs.lib.licenses.mit; + mainProgram = "nufmt"; + }; }; formatter = inputs.treefmt-nix.lib.mkWrapper pkgs {