tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
rojo: fix build on darwin
Weijia Wang
3 years ago
a090dee5
1602f403
+9
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
rojo
default.nix
+9
-2
pkgs/development/tools/rojo/default.nix
···
4
, rustPlatform
5
, pkg-config
6
, openssl
0
7
}:
8
0
0
0
9
rustPlatform.buildRustPackage rec {
10
pname = "rojo";
11
version = "7.2.1";
···
26
27
buildInputs = [
28
openssl
0
0
29
];
30
0
0
0
31
meta = with lib; {
32
description = "Project management tool for Roblox";
33
longDescription = ''
···
38
changelog = "https://github.com/rojo-rbx/rojo/raw/v${version}/CHANGELOG.md";
39
license = licenses.mpl20;
40
maintainers = with maintainers; [ wackbyte ];
41
-
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
42
-
broken = stdenv.isDarwin;
43
};
44
}
···
4
, rustPlatform
5
, pkg-config
6
, openssl
7
+
, darwin
8
}:
9
10
+
let
11
+
inherit (darwin.apple_sdk.frameworks) CoreServices;
12
+
in
13
rustPlatform.buildRustPackage rec {
14
pname = "rojo";
15
version = "7.2.1";
···
30
31
buildInputs = [
32
openssl
33
+
] ++ lib.optionals stdenv.isDarwin [
34
+
CoreServices
35
];
36
37
+
# tests flaky on darwin on hydra
38
+
doCheck = !stdenv.isDarwin;
39
+
40
meta = with lib; {
41
description = "Project management tool for Roblox";
42
longDescription = ''
···
47
changelog = "https://github.com/rojo-rbx/rojo/raw/v${version}/CHANGELOG.md";
48
license = licenses.mpl20;
49
maintainers = with maintainers; [ wackbyte ];
0
0
50
};
51
}