mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: nix flakes (#306)
This commit is contained in:
parent
55187496fa
commit
93d8c30783
1 changed files with 4 additions and 3 deletions
|
|
@ -32,6 +32,7 @@ rustPlatform.buildRustPackage {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
src = ../.;
|
src = ../.;
|
||||||
|
YAZI_GEN_COMPLETIONS = true;
|
||||||
|
|
||||||
cargoLock.lockFile = ../Cargo.lock;
|
cargoLock.lockFile = ../Cargo.lock;
|
||||||
|
|
||||||
|
|
@ -57,9 +58,9 @@ rustPlatform.buildRustPackage {
|
||||||
wrapProgram $out/bin/yazi \
|
wrapProgram $out/bin/yazi \
|
||||||
--prefix PATH : "${makeBinPath runtimePaths}"
|
--prefix PATH : "${makeBinPath runtimePaths}"
|
||||||
installShellCompletion --cmd yazi \
|
installShellCompletion --cmd yazi \
|
||||||
--bash ./config/completions/yazi.bash \
|
--bash ./yazi-config/completions/yazi.bash \
|
||||||
--fish ./config/completions/yazi.fish \
|
--fish ./yazi-config/completions/yazi.fish \
|
||||||
--zsh ./config/completions/_yazi
|
--zsh ./yazi-config/completions/_yazi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue