fix: build with rust-overlay (#410)

This commit is contained in:
XYenon 2023-11-29 21:45:47 +08:00 committed by GitHub
parent 8998753625
commit d54983143a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;