tvl-depot/tools/cheddar/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
491 B
Nix
Raw Normal View History

{ 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";
};
}