Skip to content

Commit 0d0c32e

Browse files
committed
converve: fix darwin build
Add the required framework.
1 parent 7a330d7 commit 0d0c32e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

pkgs/tools/backup/conserve/default.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
{ lib
2-
, rustPlatform
3-
, fetchFromGitHub
1+
{
2+
lib,
3+
stdenv,
4+
rustPlatform,
5+
fetchFromGitHub,
6+
darwin
47
}:
58

69
rustPlatform.buildRustPackage rec {
@@ -16,6 +19,10 @@ rustPlatform.buildRustPackage rec {
1619

1720
cargoHash = "sha256-IP9x3n5RdI+TKOhMBWEfw9P2CROcC0SmEsmMVaXjiDE=";
1821

22+
buildInputs = lib.optionals (stdenv.isDarwin) [
23+
darwin.apple_sdk.frameworks.Security
24+
];
25+
1926
checkFlags = [
2027
# expected to panic if unix user has no secondary group,
2128
# which is the case in the nix sandbox

0 commit comments

Comments
 (0)