about summary refs log blame commit diff
path: root/tools/cheddar/default.nix
blob: c65c782e6ac804acad7d493f3aed0149a33d9108 (plain) (tree)
1
2
3
4
5
6
7
8
              
 
                          




                  


                                                                       


                                                               
                                                                       

    
{ pkgs, ... }:

pkgs.naersk.buildPackage {
  src = ./.;
  doDoc = false;
  doCheck = 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";
  };
}