garage: fix build on Darwin
Security needs to be added as a buildInput.
This commit is contained in:
parent
cdb8f017e7
commit
e3d8a347fe
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
{ lib, rustPlatform, fetchFromGitea, protobuf, testers, garage }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitea, protobuf, testers, Security, garage }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "garage";
|
||||
version = "0.7.0";
|
||||
|
@ -15,6 +16,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion { package = garage; };
|
||||
};
|
||||
|
|
|
@ -6079,7 +6079,9 @@ with pkgs;
|
|||
|
||||
gaphor = python3Packages.callPackage ../tools/misc/gaphor { };
|
||||
|
||||
garage = callPackage ../tools/filesystems/garage { };
|
||||
garage = callPackage ../tools/filesystems/garage {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
garmin-plugin = callPackage ../applications/misc/garmin-plugin {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue