fup: add cheddar to PATH for nix derivation
This ensures that we always have syntax highlighting available. For people using it directly, it's their responsibility to make sure that cheddar is available in their path, if they want syntax highlighting.
This commit is contained in:
parent
c187956f19
commit
5cd85b03db
1 changed files with 5 additions and 0 deletions
|
@ -14,8 +14,13 @@ pkgs.buildGoModule {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
depot.third_party.cheddar
|
depot.third_party.cheddar
|
||||||
|
pkgs.makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/fup --prefix PATH : ${lib.makeBinPath [ depot.third_party.cheddar ]}
|
||||||
|
'';
|
||||||
|
|
||||||
vendorSha256 = "sha256:0myd1p61q777ybbwdz8k4nbchh2hv1yr8008061m3gc44s3gsphx";
|
vendorSha256 = "sha256:0myd1p61q777ybbwdz8k4nbchh2hv1yr8008061m3gc44s3gsphx";
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
|
|
Loading…
Reference in a new issue