amazon-qldb-shell: fix on darwin
On Darwin, the linker needs access to the Security framework.
This commit is contained in:
parent
a1439bc965
commit
aee3781ae8
2 changed files with 8 additions and 3 deletions
|
@ -1,10 +1,12 @@
|
|||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, clang
|
||||
, cmake
|
||||
, fetchFromGitHub
|
||||
, llvmPackages
|
||||
, rustPlatform
|
||||
, testers
|
||||
, Security
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -21,7 +23,8 @@ let
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ clang cmake ];
|
||||
buildInputs = [ llvmPackages.libclang ];
|
||||
buildInputs = [ llvmPackages.libclang ]
|
||||
++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
cargoSha256 = "sha256-y3dNEa2U9mwsENPda44zweszlk4UJXGtfeH+er8mi0U=";
|
||||
|
||||
|
|
|
@ -1652,7 +1652,9 @@ with pkgs;
|
|||
|
||||
amazon-ecs-cli = callPackage ../tools/virtualization/amazon-ecs-cli { };
|
||||
|
||||
amazon-qldb-shell = callPackage ../development/tools/amazon-qldb-shell { };
|
||||
amazon-qldb-shell = callPackage ../development/tools/amazon-qldb-shell {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
amber = callPackage ../tools/text/amber {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
|
Loading…
Reference in a new issue