mirror of
https://codeberg.org/demostf/inspector.git
synced 2026-06-03 18:14:08 +02:00
flake reorg, enable panic hook
This commit is contained in:
parent
f64ffd6cfb
commit
667569052c
18 changed files with 200 additions and 165 deletions
|
|
@ -7,9 +7,9 @@
|
|||
rust-bin,
|
||||
wasm-pack,
|
||||
binaryen,
|
||||
lib
|
||||
lib,
|
||||
}: let
|
||||
deps = (builtins.fromTOML (builtins.readFile ../wasm/Cargo.toml)).dependencies;
|
||||
deps = (builtins.fromTOML (builtins.readFile ../Cargo.toml)).dependencies;
|
||||
wasm-bindgen-version = lib.strings.removePrefix "=" deps.wasm-bindgen.version;
|
||||
wasm-bindgen-cli = rustPlatform.buildRustPackage rec {
|
||||
pname = "wasm-bindgen-cli";
|
||||
|
|
@ -37,10 +37,10 @@ in
|
|||
version = "0.1.0";
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ../wasm/Cargo.lock;
|
||||
lockFile = ../Cargo.lock;
|
||||
};
|
||||
|
||||
src = ../wasm;
|
||||
src = ../.;
|
||||
|
||||
WASM_PACK_CACHE = "/build/cache";
|
||||
nativeBuildInputs = [rust-wasm wasm-pack wasm-bindgen-cli binaryen];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue