mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
comma: Fix panic due to missing nix-index
in path
This commit is contained in:
parent
1468e8f52d
commit
ddf6457d2d
@ -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 New Issue
Block a user