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
|
@ -1,10 +1,12 @@
|
||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, clang
|
, clang
|
||||||
, cmake
|
, cmake
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, llvmPackages
|
, llvmPackages
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, testers
|
, testers
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -21,7 +23,8 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ clang cmake ];
|
nativeBuildInputs = [ clang cmake ];
|
||||||
buildInputs = [ llvmPackages.libclang ];
|
buildInputs = [ llvmPackages.libclang ]
|
||||||
|
++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
cargoSha256 = "sha256-y3dNEa2U9mwsENPda44zweszlk4UJXGtfeH+er8mi0U=";
|
cargoSha256 = "sha256-y3dNEa2U9mwsENPda44zweszlk4UJXGtfeH+er8mi0U=";
|
||||||
|
|
||||||
|
|
|
@ -1652,7 +1652,9 @@ with pkgs;
|
||||||
|
|
||||||
amazon-ecs-cli = callPackage ../tools/virtualization/amazon-ecs-cli { };
|
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 {
|
amber = callPackage ../tools/text/amber {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
|
Loading…
Reference in a new issue