2021-04-10 13:40:22 +02:00
|
|
|
{ depot, pkgs, ... }:
|
2019-12-21 05:20:15 +01:00
|
|
|
|
2021-04-10 13:40:22 +02:00
|
|
|
depot.third_party.naersk.buildPackage {
|
2019-12-21 05:55:10 +01:00
|
|
|
src = ./.;
|
|
|
|
doDoc = false;
|
|
|
|
|
|
|
|
override = x: {
|
2020-06-15 01:19:36 +02:00
|
|
|
# Use our custom bat syntax set, which is everything from upstream,
|
|
|
|
# plus additional languages we care about.
|
2021-04-10 13:40:22 +02:00
|
|
|
BAT_SYNTAXES = "${depot.third_party.bat_syntaxes}";
|
2019-12-21 05:55:10 +01:00
|
|
|
|
|
|
|
# LLVM packages (why are they even required?) are not found
|
|
|
|
# automatically if added to buildInputs, hence this ...
|
2020-06-15 01:19:36 +02:00
|
|
|
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib/libclang.so.10";
|
2019-12-21 05:55:10 +01:00
|
|
|
};
|
|
|
|
}
|