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
4
, rustPlatform
5
5
, pkg-config
6
6
, openssl
7
7
+
, darwin
7
8
}:
8
9
10
10
+
let
11
11
+
inherit (darwin.apple_sdk.frameworks) CoreServices;
12
12
+
in
9
13
rustPlatform.buildRustPackage rec {
10
14
pname = "rojo";
11
15
version = "7.2.1";
···
26
30
27
31
buildInputs = [
28
32
openssl
33
33
+
] ++ lib.optionals stdenv.isDarwin [
34
34
+
CoreServices
29
35
];
30
36
37
37
+
# tests flaky on darwin on hydra
38
38
+
doCheck = !stdenv.isDarwin;
39
39
+
31
40
meta = with lib; {
32
41
description = "Project management tool for Roblox";
33
42
longDescription = ''
···
38
47
changelog = "https://github.com/rojo-rbx/rojo/raw/v${version}/CHANGELOG.md";
39
48
license = licenses.mpl20;
40
49
maintainers = with maintainers; [ wackbyte ];
41
41
-
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
42
42
-
broken = stdenv.isDarwin;
43
50
};
44
51
}