From 3f3298501c3cf845344dbc631a0cb5de16c0b60d Mon Sep 17 00:00:00 2001 From: eymeric Date: Thu, 28 Aug 2025 16:29:37 +0200 Subject: [PATCH] melos: 6.3.2 -> 7.1.0 --- pkgs/by-name/me/melos/add-generic-main.patch | 16 +++++++++------- pkgs/by-name/me/melos/package.nix | 4 ++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/me/melos/add-generic-main.patch b/pkgs/by-name/me/melos/add-generic-main.patch index 6871a4f7c6fa..434683968acd 100644 --- a/pkgs/by-name/me/melos/add-generic-main.patch +++ b/pkgs/by-name/me/melos/add-generic-main.patch @@ -8,8 +8,13 @@ index 0db7013..218276f 100644 import 'package:melos/src/command_runner.dart'; -Future main(List arguments) async => launchExecutable( -- arguments, -- LaunchConfig( +- arguments, +- LaunchConfig( +- name: ExecutableName('melos'), +- launchFromSelf: false, +- entrypoint: melosEntryPoint, +- ), +-); +Future main(List arguments) async { + final melosYamlPath = findMelosYaml(); + @@ -24,13 +29,10 @@ index 0db7013..218276f 100644 + LaunchContext( + directory: Directory.current, + localInstallation: ExecutableInstallation( - name: ExecutableName('melos'), -- launchFromSelf: false, -- entrypoint: melosEntryPoint, ++ name: ExecutableName('melos'), + isSelf: false, + packageRoot: melosYamlPath, - ), -- ); ++ ), + ), + ); +} diff --git a/pkgs/by-name/me/melos/package.nix b/pkgs/by-name/me/melos/package.nix index 25a8ae792f28..32852322b795 100644 --- a/pkgs/by-name/me/melos/package.nix +++ b/pkgs/by-name/me/melos/package.nix @@ -5,12 +5,12 @@ }: let pname = "melos"; - version = "6.3.2"; + version = "7.1.0"; src = fetchFromGitHub { owner = "invertase"; repo = "melos"; rev = "melos-v${version}"; - hash = "sha256-hD4UlQPFugRqtOZecyT/6wV3vFocoQ6OO5w+SZsYdO0="; + hash = "sha256-caX59w0uxy5VW1p1hgds73m3sIjEutz5ZUuOzjdIr4Q="; }; in buildDartApplication {