mirth: rename bin mirth → mirthc

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.
This commit is contained in:
·𐑑𐑴𐑕𐑑𐑩𐑤
2026-06-26 23:22:02 +07:00
parent 3bb5e2b471
commit 35fefc940e
+3 -3
View File
@@ -78,7 +78,7 @@ stdenv.mkDerivation {
install -Dm644 LICENSE README.md -t "$doc/share/doc/mirth"
# stages 02 arent 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"