martin: fix darwin

This commit is contained in:
Nikolay Korotkiy 2023-10-06 16:32:35 +04:00
parent 158a4b0958
commit a2ad48c94e
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security, SystemConfiguration }:
rustPlatform.buildRustPackage rec {
pname = "martin";
@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
checkFlags = [
"--skip function_source_schemas"

View file

@ -27722,7 +27722,7 @@ with pkgs;
mapserver = callPackage ../servers/geospatial/mapserver { };
martin = callPackage ../servers/geospatial/martin {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
mbtileserver = callPackage ../servers/geospatial/mbtileserver { };