From 35fefc940eb63d99e42336a53bcef2214ff1e7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=B7=F0=90=91=91=F0=90=91=B4=F0=90=91=95=F0=90=91=91?= =?UTF-8?q?=F0=90=91=A9=F0=90=91=A4?= Date: Fri, 26 Jun 2026 23:14:21 +0700 Subject: [PATCH] =?UTF-8?q?mirth:=20rename=20bin=20mirth=20=E2=86=92=20mir?= =?UTF-8?q?thc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The iteration numbers recursively compile themselves & one could run 2 or 3, so I chose mirth, numberless, as it’s not relevant to the user. However, since it’s not a complete suite of tools & just a compiler, the name mirthc actually makes more sense as the numberless compiler. --- pkgs/by-name/mi/mirth/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/mi/mirth/package.nix b/pkgs/by-name/mi/mirth/package.nix index ada6e8fada17..4aa8dfd1eab4 100644 --- a/pkgs/by-name/mi/mirth/package.nix +++ b/pkgs/by-name/mi/mirth/package.nix @@ -78,7 +78,7 @@ stdenv.mkDerivation { install -Dm644 LICENSE README.md -t "$doc/share/doc/mirth" # stages 0–2 aren’t needed anymore - install -Dm755 bin/mirth3 "$bin/bin/mirth" + install -Dm755 bin/mirth3 "$bin/bin/mirthc" runHook postInstall ''; @@ -87,7 +87,7 @@ stdenv.mkDerivation { # it here, it will be more flexible towards allowing users to wrap the Mirth # binary with their own stdlib & other packages. postFixup = '' - makeBinaryWrapper "$bin/bin/mirth" "$out/bin/mirth" \ + makeBinaryWrapper "$bin/bin/mirthc" "$out/bin/mirthc" \ --add-flags "-P $lib/lib/mirth" ''; @@ -99,7 +99,7 @@ stdenv.mkDerivation { ''; homepage = "https://git.sr.ht/~typeswitch/mirth"; license = lib.licenses.bsd0; - mainProgram = "mirth"; + mainProgram = "mirthc"; # https://git.sr.ht/~typeswitch/mirth/tree/main/item/src/mirth.h#L4-22 platforms = [ "aarch64-darwin"