From aa612baef3e13aaa5be8dd06a226bd2f7bf70417 Mon Sep 17 00:00:00 2001 From: lveneris Date: Wed, 22 Jul 2026 23:30:58 +0100 Subject: [PATCH] fix(nix): use correct toolchain for rustfmt --- nix/devshell.nix | 2 +- nix/rust.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/devshell.nix b/nix/devshell.nix index 70156f23b..024ffdd73 100644 --- a/nix/devshell.nix +++ b/nix/devshell.nix @@ -9,7 +9,7 @@ { # basic nix shell containing all things necessary to build continuwuity in all flavors manually (on x86_64-linux) devShells.default = - ((inputs.crane.mkLib pkgs).overrideToolchain (pkgs: self'.packages.stable-toolchain)).devShell + ((inputs.crane.mkLib pkgs).overrideToolchain (pkgs: self'.packages.dev-toolchain)).devShell { packages = [ self'.packages.rocksdb diff --git a/nix/rust.nix b/nix/rust.nix index 583542271..9a7dadcfe 100644 --- a/nix/rust.nix +++ b/nix/rust.nix @@ -27,9 +27,9 @@ inherit stable-toolchain; dev-toolchain = fnx.combine [ - stable-toolchain # use the nightly rustfmt because we use nightly features fnx.complete.rustfmt + stable-toolchain ]; }; };