Unverified Commit c57fe374 authored by Theodore Ni's avatar Theodore Ni
Browse files

prisma-engines: use new Darwin SDK pattern

parent 527e6be2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
{ 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}
+1 −3
Original line number Diff line number Diff line
@@ -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 { };