flake.nix: Use stable rust
This commit is contained in:
parent
6be5f24dca
commit
6c0af02754
|
@ -13,10 +13,10 @@
|
|||
outputs = { self, nixpkgs, rust-overlay, flake-utils, naersk }: flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
overlays = [
|
||||
rust-overlay.overlay
|
||||
rust-overlay.overlays.default
|
||||
(final: prev: {
|
||||
rustc = final.rust-bin.nightly.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; };
|
||||
cargo = final.rust-bin.nightly.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; };
|
||||
rustc = final.rust-bin.stable.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; };
|
||||
cargo = final.rust-bin.stable.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; };
|
||||
})
|
||||
];
|
||||
pkgs = import nixpkgs { inherit system overlays; };
|
||||
|
@ -77,7 +77,7 @@
|
|||
devShell = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
wasm-pack
|
||||
(rust-bin.nightly.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; })
|
||||
(rust-bin.stable.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; })
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue