a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
27 lines
452 B
Nix
27 lines
452 B
Nix
{ depot, pkgs, ... }:
|
|
|
|
let
|
|
llvmPackages = pkgs.llvmPackages_11;
|
|
in
|
|
|
|
depot.third_party.naersk.buildPackage {
|
|
src = ./.;
|
|
|
|
buildInputs = [
|
|
llvmPackages.clang
|
|
llvmPackages.llvm
|
|
llvmPackages.bintools
|
|
llvmPackages.libclang.lib
|
|
] ++ (with pkgs; [
|
|
zlib
|
|
ncurses
|
|
libxml2
|
|
libffi
|
|
pkgconfig
|
|
]);
|
|
|
|
doCheck = true;
|
|
|
|
# Trouble linking against LLVM, maybe since rustc's llvmPackages got bumped?
|
|
meta.ci.skip = true;
|
|
}
|