From 6c0af02754cef47e609671443e3de52f6cc21753 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 16 Jul 2022 17:51:36 +0200 Subject: [PATCH] flake.nix: Use stable rust --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index f405aa9..9dc6c5b 100644 --- a/flake.nix +++ b/flake.nix @@ -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" ]; }) ]; };