Skip to content

Commit dd8dd2f

Browse files
committed
build(nix): remove unused dependencies
darwin.apple_sdk.frameworks is deprecated and does nothing according to <https://nixos.org/manual/nixpkgs/stable/#sec-darwin-legacy-frameworks> libiconv dependency also does not seem to be needed for `libdeltachat`, I have checked that `nix build .#libdeltachat` still succeeds on macOS.
1 parent eb1bd1d commit dd8dd2f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

flake.nix

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@
9898
nativeBuildInputs = [
9999
pkgs.perl # Needed to build vendored OpenSSL.
100100
];
101-
buildInputs = pkgs.lib.optionals isDarwin [
102-
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
103-
];
104101
auditable = false; # Avoid cargo-auditable failures.
105102
doCheck = false; # Disable test as it requires network access.
106103
};
@@ -483,12 +480,6 @@
483480
pkgs.rustPlatform.cargoSetupHook
484481
pkgs.cargo
485482
];
486-
buildInputs = pkgs.lib.optionals isDarwin [
487-
pkgs.darwin.apple_sdk.frameworks.CoreFoundation
488-
pkgs.darwin.apple_sdk.frameworks.Security
489-
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
490-
pkgs.libiconv
491-
];
492483

493484
postInstall = ''
494485
substituteInPlace $out/include/deltachat.h \

0 commit comments

Comments
 (0)