Skip to content

Commit 5b9c9f3

Browse files
jfrochesamrose
authored andcommitted
chore: remove deprecated appl_sdk frameworks
Backport upstream commit to remove the deprecated darwin framework: NixOS/nixpkgs#398707
1 parent 921c2d8 commit 5b9c9f3

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
defaultBindgenHook,
3837
}:
@@ -124,9 +123,7 @@ let
124123
# so we don't accidentally `(rustPlatform.buildRustPackage argsForBuildRustPackage) // { ... }` because
125124
# we forgot parentheses
126125
finalArgs = argsForBuildRustPackage // {
127-
buildInputs =
128-
(args.buildInputs or [ ])
129-
++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
126+
buildInputs = (args.buildInputs or [ ]);
130127

131128
nativeBuildInputs =
132129
(args.nativeBuildInputs or [ ])

nix/overlays/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
buildPgrxExtension = final.callPackage ../cargo-pgrx/buildPgrxExtension.nix {
3232
inherit (final) cargo-pgrx;
3333
inherit (final) lib;
34-
inherit (final) Security;
3534
inherit (final) pkg-config;
3635
inherit (final) stdenv;
3736
inherit (final) writeShellScriptBin;

0 commit comments

Comments
 (0)