tvl-depot/tools/cheddar/default.nix
Vincent Ambo c710509078 test(cheddar): Add simple Markdown rendering tests
Covers some of the odd things we do, specifically callouts and code
rendering.

Change-Id: Ib8542373b434b53d277b0d8c9ddb78ac7c5176a5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2689
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2021-03-31 22:06:50 +00:00

16 lines
458 B
Nix

{ pkgs, ... }:
pkgs.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 = "${pkgs.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";
};
}