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;