about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-05-12 01:35:16 +0200
committerGitHub <noreply@github.com>2022-05-12 01:35:16 +0200
commit997c1a8379a28514266871c0bf75b202c6bbe66d (patch)
tree7fb5e0ac8b859985133c121ec28aa64e6edb2ed1 /pkgs/tools
parent324a5be95cbfc15b8c13fbdcd1c9e97986114998 (diff)
parente3d8a347fee00b675222ad11a68fd12737e9357f (diff)
Merge pull request #172610 from tjni/fix-garage-darwin
garage: fix build on Darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/filesystems/garage/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/garage/default.nix b/pkgs/tools/filesystems/garage/default.nix
index 8799ec5a3d2ab..2818c335176a2 100644
--- a/pkgs/tools/filesystems/garage/default.nix
+++ b/pkgs/tools/filesystems/garage/default.nix
@@ -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; };
   };