prisma-engines: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 14:47:16 -08:00
parent 527e6be2dc
commit c57fe374c3
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,5 @@
{ fetchFromGitHub
, lib
, Security
, openssl
, pkg-config
, protobuf
@ -42,7 +41,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl
protobuf
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
];
preBuild = ''
export OPENSSL_DIR=${lib.getDev openssl}

View File

@ -357,9 +357,7 @@ with pkgs;
mumps_par = callPackage ../by-name/mu/mumps/package.nix { mpiSupport = true; };
prisma-engines = callPackage ../development/tools/database/prisma-engines {
inherit (darwin.apple_sdk.frameworks) Security;
};
prisma-engines = callPackage ../development/tools/database/prisma-engines { };
protoc-gen-dart = callPackage ../development/tools/protoc-gen-dart { };