From 7a8fed43c42d0a72de3d6847ced166f1d6a44009 Mon Sep 17 00:00:00 2001
From: sefidel <contact@sefidel.net>
Date: Thu, 3 Mar 2022 17:45:58 +0900
Subject: feat(home/base): use preferred way of setting up nightly rust profile

---
 home/profiles/base/default.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'home/profiles/base')

diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 2c0f792..8a309b3 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -99,7 +99,7 @@ in
       neovim
 
       # Common build tools
-      pkgs.rust-bin.nightly.latest.default
+      (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
       pkgs.go
       pkgs.gcc
       # pkgs.clang
-- 
cgit 1.4.1