mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
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,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