extract types
This commit is contained in:
parent
d7d567b0e6
commit
c86f8d93f1
30 changed files with 986 additions and 474 deletions
11
flake.nix
11
flake.nix
|
|
@ -22,6 +22,12 @@
|
|||
in {
|
||||
devShells.default = with pkgs;
|
||||
mkShell rec {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
# spacetimedb
|
||||
openssl
|
||||
binaryen
|
||||
];
|
||||
buildInputs =
|
||||
[
|
||||
# Rust dependencies
|
||||
|
|
@ -29,7 +35,6 @@
|
|||
extensions = ["rust-src" "rust-docs" "rustc-codegen-cranelift" "rust-analyzer" "rustfmt"];
|
||||
targets = ["x86_64-unknown-linux-gnu" "wasm32-unknown-unknown"];
|
||||
})
|
||||
pkg-config
|
||||
]
|
||||
++ lib.optionals (lib.strings.hasInfix "linux" system) [
|
||||
# for Linux
|
||||
|
|
@ -47,10 +52,6 @@
|
|||
xorg.libXrandr
|
||||
libxkbcommon
|
||||
wayland
|
||||
|
||||
# spacetimedb
|
||||
openssl
|
||||
binaryen
|
||||
];
|
||||
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue