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