about summary refs log tree commit diff
path: root/tools/cheddar/default.nix
blob: b7c5070b3d51eaf5f766456cb03f6a811aee67db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ depot, pkgs, ... }:

depot.third_party.naersk.buildPackage {
  src = ./.;
  doDoc = false;

  override = x: {
    # Use our custom bat syntax set, which is everything from upstream,
    # plus additional languages we care about.
    BAT_SYNTAXES = "${depot.third_party.bat_syntaxes}";

    # LLVM packages (why are they even required?) are not found
    # automatically if added to buildInputs, hence this ...
    LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib/libclang.so.10";
  };
}