diff options
| author | Malte Voos <git@mal.tc> | 2023-04-02 12:24:23 +0200 |
|---|---|---|
| committer | Malte Voos <git@mal.tc> | 2023-04-02 12:24:23 +0200 |
| commit | 58b1fced2563f40990123ab362b0df53b5a91c0e (patch) | |
| tree | 84faaa57a23633041baffe5d50467e60abc9d5e9 /flake.nix | |
| parent | 7d9836ebef1950c550081b2ea9cd3f7718280a02 (diff) | |
| download | life-58b1fced2563f40990123ab362b0df53b5a91c0e.tar.gz life-58b1fced2563f40990123ab362b0df53b5a91c0e.zip | |
make it run in the browser
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -12,19 +12,22 @@ let pkgs = import nixpkgs { inherit system; - overlays = [ fenix.overlay ]; + overlays = [ fenix.overlays.default ]; }; in { devShell = with pkgs; mkShell rec { nativeBuildInputs = [ - (fenix.packages.${system}.complete.withComponents [ - "cargo" - "clippy" - "rust-src" - "rustc" - "rustfmt" + (with fenix.packages.${system}; combine [ + complete.cargo + complete.clippy + complete.rust-src + complete.rustc + complete.rustfmt + targets.wasm32-unknown-unknown.latest.rust-std ]) + wasm-pack + wasm-bindgen-cli rust-analyzer-nightly cargo-edit |