2021-04-10 18:05:16 +02:00
|
|
|
{ depot, pkgs, ... }:
|
2021-03-15 21:44:28 +01:00
|
|
|
|
2021-05-23 13:33:59 +02:00
|
|
|
let
|
|
|
|
llvmPackages = pkgs.llvmPackages_11;
|
|
|
|
in
|
|
|
|
|
2021-04-10 18:05:16 +02:00
|
|
|
depot.third_party.naersk.buildPackage {
|
2021-03-20 00:43:59 +01:00
|
|
|
src = ./.;
|
|
|
|
|
2021-05-23 13:33:59 +02:00
|
|
|
buildInputs = [
|
|
|
|
llvmPackages.clang
|
2021-03-20 00:43:59 +01:00
|
|
|
llvmPackages.llvm
|
|
|
|
llvmPackages.bintools
|
|
|
|
llvmPackages.libclang.lib
|
2021-05-23 13:33:59 +02:00
|
|
|
] ++ (with pkgs; [
|
2021-03-20 00:43:59 +01:00
|
|
|
zlib
|
|
|
|
ncurses
|
|
|
|
libxml2
|
|
|
|
libffi
|
|
|
|
pkgconfig
|
2021-05-23 13:33:59 +02:00
|
|
|
]);
|
2021-03-20 00:43:59 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
2022-04-26 15:32:10 +02:00
|
|
|
|
|
|
|
# Trouble linking against LLVM, maybe since rustc's llvmPackages got bumped?
|
|
|
|
meta.ci.skip = true;
|
2021-03-20 00:43:59 +01:00
|
|
|
}
|