forked from mirrors/nixpkgs
sequoia: migrate to bindgenHook
This commit is contained in:
parent
1a89cfae1f
commit
f79a9b183d
|
@ -6,13 +6,10 @@
|
||||||
, git
|
, git
|
||||||
, nettle
|
, nettle
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
# Use the same llvmPackages version as Rust
|
|
||||||
, llvmPackages_12
|
|
||||||
, cargo
|
, cargo
|
||||||
, rustc
|
, rustc
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, glib
|
|
||||||
, openssl
|
, openssl
|
||||||
, sqlite
|
, sqlite
|
||||||
, capnproto
|
, capnproto
|
||||||
|
@ -50,8 +47,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargo
|
cargo
|
||||||
rustc
|
rustc
|
||||||
git
|
git
|
||||||
llvmPackages_12.libclang.lib
|
rustPlatform.bindgenHook
|
||||||
llvmPackages_12.clang
|
|
||||||
ensureNewerSourcesForZipFilesHook
|
ensureNewerSourcesForZipFilesHook
|
||||||
capnproto
|
capnproto
|
||||||
] ++
|
] ++
|
||||||
|
@ -81,8 +77,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
"build-release"
|
"build-release"
|
||||||
];
|
];
|
||||||
|
|
||||||
LIBCLANG_PATH = "${llvmPackages_12.libclang.lib}/lib";
|
|
||||||
|
|
||||||
# Sometimes, tests fail on CI (ofborg) & hydra without this
|
# Sometimes, tests fail on CI (ofborg) & hydra without this
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
# doctest for sequoia-ipc fail for some reason
|
# doctest for sequoia-ipc fail for some reason
|
||||||
|
|
Loading…
Reference in a new issue