2020-02-21 13:47:29 +01:00
|
|
|
{ depot, ... }:
|
2019-12-21 05:20:15 +01:00
|
|
|
|
2020-02-21 13:47:29 +01:00
|
|
|
with depot.third_party;
|
2019-12-21 05:55:10 +01:00
|
|
|
|
|
|
|
naersk.buildPackage {
|
|
|
|
src = ./.;
|
|
|
|
doDoc = false;
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
override = x: {
|
|
|
|
# bat contains syntax highlighting packages for a lot more
|
|
|
|
# languages than what ships with syntect, and we can make use of
|
|
|
|
# them!
|
|
|
|
BAT_SYNTAXES = "${bat.src}/assets/syntaxes.bin";
|
|
|
|
|
|
|
|
# LLVM packages (why are they even required?) are not found
|
|
|
|
# automatically if added to buildInputs, hence this ...
|
2020-05-26 00:37:39 +02:00
|
|
|
LIBCLANG_PATH = "${llvmPackages.libclang}/lib/libclang.so.10";
|
2019-12-21 05:55:10 +01:00
|
|
|
};
|
|
|
|
}
|