2020-06-15 01:19:36 +02:00
|
|
|
{ pkgs, ... }:
|
2019-12-21 05:20:15 +01:00
|
|
|
|
2020-06-15 01:19:36 +02:00
|
|
|
pkgs.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.
|
|
|
|
BAT_SYNTAXES = "${pkgs.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
|
|
|
};
|
|
|
|
}
|