headache: add codesign for darwin (#351545)

This commit is contained in:
Emily 2024-10-27 18:27:20 +00:00 committed by GitHub
commit a5c140ecfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, nix-update-script, ocamlPackages }:
{ lib, stdenv, fetchFromGitHub, nix-update-script, ocamlPackages, darwin }:
let
inherit (ocamlPackages) buildDunePackage camomile;
@ -15,6 +15,8 @@ buildDunePackage rec {
sha256 = "sha256-UXQIIsCyJZN4qos7Si7LLm9vQueOduUmLeYHuyT2GZo=";
};
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.sigtool;
propagatedBuildInputs = [
camomile
];