Skip to content
Snippets Groups Projects
Commit ddce9496 authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

nix: fix building rust on macOS (Security apple_sdk framework)

parent fe637f48
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,11 @@ commonAttrs = {
# right thing here.
pkgsBuildHost.rustPlatform.bindgenHook
]
++ lib.optionals stdenv.isDarwin [ libiconv ];
# https://github.com/NixOS/nixpkgs/issues/206242
++ lib.optionals stdenv.isDarwin [ libiconv ]
# https://stackoverflow.com/questions/69869574/properly-adding-darwin-apple-sdk-to-a-nix-shell
# https://discourse.nixos.org/t/compile-a-rust-binary-on-macos-dbcrossbar/8612
++ lib.optionals stdenv.isDarwin [ pkgsBuildHost.darwin.apple_sdk.frameworks.Security ];
};
in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment