Commit 0d0c32e3 authored by Stanisław Pitucha's avatar Stanisław Pitucha
Browse files

converve: fix darwin build

Add the required framework.
parent 7a330d7d
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
{ 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