From a2ad48c94e5d2cd0bdc21a68a27b7ce71b03b740 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 6 Oct 2023 16:32:35 +0400 Subject: [PATCH] martin: fix darwin --- pkgs/servers/geospatial/martin/default.nix | 4 ++-- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/geospatial/martin/default.nix b/pkgs/servers/geospatial/martin/default.nix index 458c60b721d7..3a5ec55b5b1c 100644 --- a/pkgs/servers/geospatial/martin/default.nix +++ b/pkgs/servers/geospatial/martin/default.nix @@ -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" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 44739bbaa121..8988c3c77325 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };