tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
melos: 6.3.2 -> 7.1.0
eymeric
6 months ago
3f329850
aca2499b
+11
-9
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
me
melos
add-generic-main.patch
package.nix
+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(
0
0
0
0
0
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'),
0
0
33
+ isSelf: false,
34
+ packageRoot: melosYamlPath,
35
+
+ ),
0
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 {