Skip to content

Commit

Permalink
fix: build with rust-overlay (sxyazi#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
XYenon authored Nov 29, 2023
1 parent 8998753 commit d549831
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nix/yazi.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ rustPlatform
{ makeRustPlatform
, rustToolchain
, version ? "git"
, lib

Expand Down Expand Up @@ -27,7 +28,7 @@
, zoxide
}:

rustPlatform.buildRustPackage {
(makeRustPlatform { cargo = rustToolchain; rustc = rustToolchain; }).buildRustPackage {
pname = "yazi";
inherit version;

Expand Down

0 comments on commit d549831

Please sign in to comment.