d62fab4168
In preparation for the solution of b/108, we need to consistently use `depot.third_party` for packages that are only packed in the TVL depot and `pkgs` for things that come from nixpkgs. Change-Id: I49d82726b2f3bd7d4923effdd9a7e3f67ddc0659 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2916 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
16 lines
491 B
Nix
16 lines
491 B
Nix
{ 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";
|
|
};
|
|
}
|