Skip to content

Commit fed2b3d

Browse files
committed
chore: remove deprecated appl_sdk frameworks
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
1 parent a3423bb commit fed2b3d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

nix/cargo-pgrx/buildPgrxExtension.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
pkg-config,
3333
rustPlatform,
3434
stdenv,
35-
darwin,
3635
writeShellScriptBin,
3736
}:
3837

@@ -117,9 +116,7 @@ let
117116
# so we don't accidentally `(rustPlatform.buildRustPackage argsForBuildRustPackage) // { ... }` because
118117
# we forgot parentheses
119118
finalArgs = argsForBuildRustPackage // {
120-
buildInputs =
121-
(args.buildInputs or [ ])
122-
++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
119+
buildInputs = (args.buildInputs or [ ]);
123120

124121
nativeBuildInputs =
125122
(args.nativeBuildInputs or [ ])

nix/overlays/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
buildPgrxExtension = final.callPackage ../cargo-pgrx/buildPgrxExtension.nix {
3030
inherit (final) cargo-pgrx;
3131
inherit (final) lib;
32-
inherit (final) Security;
3332
inherit (final) pkg-config;
3433
inherit (final) stdenv;
3534
inherit (final) writeShellScriptBin;

0 commit comments

Comments
 (0)