about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-03-03 17:45:58 +0900
committersefidel <contact@sefidel.net>2022-03-03 17:45:58 +0900
commit7a8fed43c42d0a72de3d6847ced166f1d6a44009 (patch)
treead64c7d428a012252c901d69d86ea60d11736471
parent168c6189387ddd17bba3d84d1d1f8af159aaf13d (diff)
downloadnixrc-7a8fed43c42d0a72de3d6847ced166f1d6a44009.tar.gz
nixrc-7a8fed43c42d0a72de3d6847ced166f1d6a44009.zip
feat(home/base): use preferred way of setting up nightly rust profile
-rw-r--r--home/profiles/base/default.nix2
1 files changed, 1 insertions, 1 deletions
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