From 1cdaccbc3d7e1e19ec613f2f1e3cb34f3196ccab Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 23 Apr 2026 21:17:27 +0200 Subject: [PATCH] update rust-overlay and use rust 1.95.0 --- flake.lock | 8 ++++---- flake.nix | 4 ++-- nix/compile.nix | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index e265d0c3..c4ba7e26 100644 --- a/flake.lock +++ b/flake.lock @@ -81,17 +81,17 @@ ] }, "locked": { - "lastModified": 1763952169, - "narHash": "sha256-+PeDBD8P+NKauH+w7eO/QWCIp8Cx4mCfWnh9sJmy9CM=", + "lastModified": 1776914043, + "narHash": "sha256-qug5r56yW1qOsjSI99l3Jm15JNT9CvS2otkXNRNtrPI=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "ab726555a9a72e6dc80649809147823a813fa95b", + "rev": "2d35c4358d7de3a0e606a6e8b27925d981c01cc3", "type": "github" }, "original": { "owner": "oxalica", "repo": "rust-overlay", - "rev": "ab726555a9a72e6dc80649809147823a813fa95b", + "rev": "2d35c4358d7de3a0e606a6e8b27925d981c01cc3", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 81d94215..00f0efe1 100644 --- a/flake.nix +++ b/flake.nix @@ -6,9 +6,9 @@ inputs.nixpkgs.url = "github:NixOS/nixpkgs/cfe2c7d5b5d3032862254e68c37a6576b633d632"; - # Rust overlay as of 2025-11-24 + # Rust overlay as of 2026-04-23 inputs.rust-overlay.url = - "github:oxalica/rust-overlay/ab726555a9a72e6dc80649809147823a813fa95b"; + "github:oxalica/rust-overlay/2d35c4358d7de3a0e606a6e8b27925d981c01cc3"; inputs.rust-overlay.inputs.nixpkgs.follows = "nixpkgs"; # Crane as of 2025-01-24 diff --git a/nix/compile.nix b/nix/compile.nix index 40155d00..799bcc10 100644 --- a/nix/compile.nix +++ b/nix/compile.nix @@ -48,7 +48,7 @@ let inherit (pkgs) lib stdenv; - toolchainFn = (p: p.rust-bin.stable."1.91.1".default.override { + toolchainFn = (p: p.rust-bin.stable."1.95.0".default.override { targets = lib.optionals (target != null) [ rustTarget ]; extensions = [ "rust-src"