lol

rojo: fix build on darwin

+9 -2
+9 -2
pkgs/development/tools/rojo/default.nix
··· 4 , rustPlatform 5 , pkg-config 6 , openssl 7 }: 8 9 rustPlatform.buildRustPackage rec { 10 pname = "rojo"; 11 version = "7.2.1"; ··· 26 27 buildInputs = [ 28 openssl 29 ]; 30 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 ]; 50 }; 51 }