More darwin support
This commit is contained in:
parent
dc78ed045a
commit
2782d18ed2
|
@ -43,7 +43,12 @@
|
|||
naersk-lib.buildPackage {
|
||||
pname = source.pname;
|
||||
src = pkgs.fetchCrate source;
|
||||
buildInputs = with pkgs; [ pkg-config openssl ];
|
||||
buildInputs = with pkgs;
|
||||
[ pkg-config openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
pkgs.libiconv
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
}) sources) //
|
||||
# Packages that naersk has trouble building due to https://github.com/nix-community/naersk/issues/263
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue