diff --git a/pkgs/tools/backup/conserve/default.nix b/pkgs/tools/backup/conserve/default.nix index 12250ee2b6fd..1707321d1057 100644 --- a/pkgs/tools/backup/conserve/default.nix +++ b/pkgs/tools/backup/conserve/default.nix @@ -1,6 +1,9 @@ -{ lib -, rustPlatform -, fetchFromGitHub +{ + lib, + stdenv, + rustPlatform, + fetchFromGitHub, + darwin }: rustPlatform.buildRustPackage rec { @@ -16,6 +19,10 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-IP9x3n5RdI+TKOhMBWEfw9P2CROcC0SmEsmMVaXjiDE="; + buildInputs = lib.optionals (stdenv.isDarwin) [ + darwin.apple_sdk.frameworks.Security + ]; + checkFlags = [ # expected to panic if unix user has no secondary group, # which is the case in the nix sandbox