From 18457266102f9170c05dda46f9f90665be29c832 Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Sat, 24 Aug 2024 02:01:36 -0400 Subject: [PATCH] chars: add updateScript Co-authored-by: Sefa Eyeoglu --- pkgs/tools/text/chars/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/text/chars/default.nix b/pkgs/tools/text/chars/default.nix index 509953e8059b..e56f10c7406a 100644 --- a/pkgs/tools/text/chars/default.nix +++ b/pkgs/tools/text/chars/default.nix @@ -2,6 +2,7 @@ , fetchFromGitHub , rustPlatform , Security +, nix-update-script }: rustPlatform.buildRustPackage rec { @@ -19,6 +20,10 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + passthru = { + updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; + }; + meta = with lib; { description = "Commandline tool to display information about unicode characters"; mainProgram = "chars";