lol

melos: 6.3.2 -> 7.1.0

eymeric 3f329850 aca2499b

+11 -9
+9 -7
pkgs/by-name/me/melos/add-generic-main.patch
··· 8 import 'package:melos/src/command_runner.dart'; 9 10 -Future<void> main(List<String> arguments) async => launchExecutable( 11 - - arguments, 12 - - LaunchConfig( 13 +Future<void> main(List<String> arguments) async { 14 + final melosYamlPath = findMelosYaml(); 15 + ··· 24 + LaunchContext( 25 + directory: Directory.current, 26 + localInstallation: ExecutableInstallation( 27 - name: ExecutableName('melos'), 28 - - launchFromSelf: false, 29 - - entrypoint: melosEntryPoint, 30 + isSelf: false, 31 + packageRoot: melosYamlPath, 32 - ), 33 - - ); 34 + ), 35 + ); 36 +}
··· 8 import 'package:melos/src/command_runner.dart'; 9 10 -Future<void> main(List<String> arguments) async => launchExecutable( 11 + - arguments, 12 + - LaunchConfig( 13 + - name: ExecutableName('melos'), 14 + - launchFromSelf: false, 15 + - entrypoint: melosEntryPoint, 16 + - ), 17 + -); 18 +Future<void> main(List<String> arguments) async { 19 + final melosYamlPath = findMelosYaml(); 20 + ··· 29 + LaunchContext( 30 + directory: Directory.current, 31 + localInstallation: ExecutableInstallation( 32 + + name: ExecutableName('melos'), 33 + isSelf: false, 34 + packageRoot: melosYamlPath, 35 + + ), 36 + ), 37 + ); 38 +}
+2 -2
pkgs/by-name/me/melos/package.nix
··· 5 }: 6 let 7 pname = "melos"; 8 - version = "6.3.2"; 9 src = fetchFromGitHub { 10 owner = "invertase"; 11 repo = "melos"; 12 rev = "melos-v${version}"; 13 - hash = "sha256-hD4UlQPFugRqtOZecyT/6wV3vFocoQ6OO5w+SZsYdO0="; 14 }; 15 in 16 buildDartApplication {
··· 5 }: 6 let 7 pname = "melos"; 8 + version = "7.1.0"; 9 src = fetchFromGitHub { 10 owner = "invertase"; 11 repo = "melos"; 12 rev = "melos-v${version}"; 13 + hash = "sha256-caX59w0uxy5VW1p1hgds73m3sIjEutz5ZUuOzjdIr4Q="; 14 }; 15 in 16 buildDartApplication {