stalwart-mail.webadmin: pin wasm-bindgen-cli version
This commit is contained in:
parent
d4f265a2ed
commit
ab9d5220d8
@ -2,7 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
trunk-ng,
|
trunk,
|
||||||
tailwindcss,
|
tailwindcss,
|
||||||
fetchNpmDeps,
|
fetchNpmDeps,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
@ -44,15 +44,20 @@ rustPlatform.buildRustPackage rec {
|
|||||||
nodejs
|
nodejs
|
||||||
npmHooks.npmConfigHook
|
npmHooks.npmConfigHook
|
||||||
tailwindcss
|
tailwindcss
|
||||||
trunk-ng
|
trunk
|
||||||
wasm-bindgen-cli
|
# needs to match with wasm-bindgen version in upstreams Cargo.lock
|
||||||
|
(wasm-bindgen-cli.override {
|
||||||
|
version = "0.2.93";
|
||||||
|
hash = "sha256-DDdu5mM3gneraM85pAepBXWn3TMofarVR4NbjMdz3r0=";
|
||||||
|
cargoHash = "sha256-birrg+XABBHHKJxfTKAMSlmTVYLmnmqMDfRnmG6g/YQ=";
|
||||||
|
})
|
||||||
zip
|
zip
|
||||||
];
|
];
|
||||||
|
|
||||||
NODE_PATH = "$npmDeps";
|
NODE_PATH = "$npmDeps";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
trunk-ng build --offline --verbose --release
|
trunk build --offline --frozen --release
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user