forked from mirrors/nixpkgs
Merge pull request #234305 from wegank/amazon-qldb-shell-refactor
amazon-qldb-shell: migrate to bindgenHook
This commit is contained in:
commit
8975b27be5
|
@ -1,9 +1,7 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, clang
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, llvmPackages
|
||||
, rustPlatform
|
||||
, testers
|
||||
, Security
|
||||
|
@ -22,9 +20,8 @@ let
|
|||
sha256 = "sha256-aXScqJ1LijMSAy9YkS5QyXtTqxd19lLt3BbyVXlbw8o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ clang cmake ];
|
||||
buildInputs = [ llvmPackages.libclang ]
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
nativeBuildInputs = [ cmake rustPlatform.bindgenHook ];
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
|
@ -33,8 +30,6 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
passthru.tests.version = testers.testVersion { inherit package; };
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue