From d54983143aa1088e2aef52854b125f84cdb32036 Mon Sep 17 00:00:00 2001 From: XYenon Date: Wed, 29 Nov 2023 21:45:47 +0800 Subject: [PATCH] fix: build with rust-overlay (#410) --- nix/yazi.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nix/yazi.nix b/nix/yazi.nix index 5547f9c2..178bd70d 100644 --- a/nix/yazi.nix +++ b/nix/yazi.nix @@ -1,4 +1,5 @@ -{ rustPlatform +{ makeRustPlatform +, rustToolchain , version ? "git" , lib @@ -27,7 +28,7 @@ , zoxide }: -rustPlatform.buildRustPackage { +(makeRustPlatform { cargo = rustToolchain; rustc = rustToolchain; }).buildRustPackage { pname = "yazi"; inherit version;