converve: fix darwin build ()

This commit is contained in:
Yt 2024-10-15 08:58:31 -04:00 committed by GitHub
commit 70f9c111b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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