Merge pull request #314352 from ofalvai/ofalvai/fix-lemmy-darwin
lemmy-server: fix darwin build
This commit is contained in:
commit
d920273f0c
@ -6,6 +6,7 @@
|
||||
, postgresql
|
||||
, libiconv
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
, protobuf
|
||||
, rustfmt
|
||||
, nixosTests
|
||||
@ -33,7 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoHash = pinData.serverCargoHash;
|
||||
|
||||
buildInputs = [ postgresql ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
|
||||
|
||||
# Using OPENSSL_NO_VENDOR is not an option on darwin
|
||||
# As of version 0.10.35 rust-openssl looks for openssl on darwin
|
||||
|
@ -25837,7 +25837,7 @@ with pkgs;
|
||||
leafnode1 = callPackage ../servers/news/leafnode/1.nix { };
|
||||
|
||||
lemmy-server = callPackage ../servers/web-apps/lemmy/server.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
lemmy-ui = callPackage ../servers/web-apps/lemmy/ui.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user