Closed deser closed 1 year ago
You can install it like this
(with fenix; combine [
minimal.cargo
minimal.rustc
targets.wasm32-unknown-unknown.latest.rust-std
])
Thanks for prompt response.
Sorry, I'm noob. I have
buildInputs = [
(fenix.stable.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
rust-analyzer-nightly
];
Where should I add it?
you can do something like this
buildInputs = [
(with fenix; with stable; combine [
cargo
clippy
rust-src
rustc
rustfmt
targets.wasm32-unknown-unknown.stable.rust-std
])
rust-analyzer-nightly
];
Thanks a lot!
Sorry again, maybe you know what can I do with
= note: ld: library not found for -liconv
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
?
I'm using wasm-pack
you would need to add libiconv
to buildInputs
Man, I owe you a beer! :) Thank you very much!
Any suggestions why it doesn't work?