headache: add codesign for darwin

This commit is contained in:
Reno Dakota 2024-10-27 01:07:58 +00:00
parent 60900303b5
commit 27f2eeb869
No known key found for this signature in database

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
];