File tree 4 files changed +27
-23
lines changed
crates/unavi-scripting/src/api/wired/player
wasm/test-wired-scene/src
4 files changed +27
-23
lines changed Original file line number Diff line number Diff line change 93
93
94
94
nativeBuildInputs =
95
95
( with pkgs ; [
96
+ alsa-lib . dev
96
97
capnproto
97
98
cargo-component
99
+ libxkbcommon . dev
100
+ openssl . dev
101
+ udev . dev
102
+ wayland . dev
98
103
] )
99
104
++ [ wac-cli ]
100
105
++ commonNativeBuildInputs ;
@@ -157,14 +162,17 @@ let
157
162
buildInputs = lib . optionals pkgs . stdenv . isLinux (
158
163
with pkgs ;
159
164
[
160
- alsa-lib
161
165
openssl
162
166
udev
163
167
]
164
168
) ;
165
169
166
170
nativeBuildInputs =
167
- ( with pkgs ; [ capnproto ] )
171
+ ( with pkgs ; [
172
+ capnproto
173
+ openssl . dev
174
+ udev . dev
175
+ ] )
168
176
++ commonNativeBuildInputs
169
177
++ lib . optionals pkgs . stdenv . isDarwin ( with pkgs ; [ darwin . apple_sdk . frameworks . Cocoa ] ) ;
170
178
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ use wasm_bridge::component::{Linker, Resource};
3
3
4
4
use crate :: { api:: utils:: RefResource , state:: StoreState } ;
5
5
6
+ #[ allow( clippy:: module_inception) ]
6
7
mod player;
7
8
pub mod systems;
8
9
Original file line number Diff line number Diff line change 106
106
inherit crates ;
107
107
108
108
apps = crates . apps // deploy . apps ;
109
-
110
109
checks = crates . checks ;
111
- packages =
112
- crates . packages
113
- // deploy . packages
114
- // {
115
- githubMatrix = githubMatrix // {
116
- matrix . include = map (
117
- entry :
118
- let
119
- split = pkgs . lib . strings . splitString "." entry . attr ;
120
- package = pkgs . lib . strings . removeSuffix "\" " (
121
- pkgs . lib . strings . removePrefix "\" " ( builtins . elemAt split 1 )
122
- ) ;
123
- platform = builtins . elemAt split 0 ;
124
- in
125
- entry // { name = "${ package } .${ platform } " ; }
126
- ) githubMatrix . matrix . include ;
127
- } ;
128
- } ;
110
+ packages = crates . packages // deploy . packages ;
111
+
112
+ githubMatrix = githubMatrix // {
113
+ matrix . include = map (
114
+ entry :
115
+ let
116
+ split = pkgs . lib . strings . splitString "." entry . attr ;
117
+ package = pkgs . lib . strings . removeSuffix "\" " (
118
+ pkgs . lib . strings . removePrefix "\" " ( builtins . elemAt split 1 )
119
+ ) ;
120
+ platform = builtins . elemAt split 0 ;
121
+ in
122
+ entry // { name = "${ package } .${ platform } " ; }
123
+ ) githubMatrix . matrix . include ;
124
+ } ;
129
125
130
126
devShells . default = craneLib . devShell {
131
127
packages =
Original file line number Diff line number Diff line change 1
1
use crate :: {
2
2
bindings:: wired:: {
3
3
log:: api:: { log, LogLevel } ,
4
- physics:: types:: { Collider , RigidBodyType , Shape } ,
5
4
scene:: {
6
5
gltf:: Gltf ,
7
6
mesh:: Mesh ,
8
- node:: { Node , RigidBody , Transform } ,
7
+ node:: { Node , Transform } ,
9
8
} ,
10
9
} ,
11
10
panic_log,
You can’t perform that action at this time.
0 commit comments