Merge pull request #169766 from Sciencentistguy/comma-fix-path
comma: Fix panic due to missing `nix-index` in path
This commit is contained in:
commit
3635410a48
1 changed files with 6 additions and 5 deletions
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
{ comma
|
||||
, fetchFromGitHub
|
||||
, nix
|
||||
, fzy
|
||||
, lib
|
||||
, makeWrapper
|
||||
, nix
|
||||
, nix-index
|
||||
, rustPlatform
|
||||
, testVersion
|
||||
, comma
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -25,7 +26,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/comma \
|
||||
--prefix PATH : ${lib.makeBinPath [ nix fzy ]}
|
||||
--prefix PATH : ${lib.makeBinPath [ nix fzy nix-index ]}
|
||||
ln -s $out/bin/comma $out/bin/,
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue