Skip to content

Commit 49620cc

Browse files
committed
fix(pgrx): remove deprecated darwin.apple_sdk.frameworks.Security
1 parent 012db0e commit 49620cc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
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 [ ])

0 commit comments

Comments
 (0)