3
0
Fork 0
forked from mirrors/nixpkgs

comma: Fix panic due to missing nix-index in path

This commit is contained in:
Jamie Quigley 2022-04-22 12:31:35 +01:00
parent 1468e8f52d
commit ddf6457d2d
No known key found for this signature in database
GPG key ID: 8E8FF66E2AE8D970

View file

@ -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/,
'';