Files
nixpkgs/pkgs/os-specific/darwin/signing-utils/default.nix
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
398 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
stdenvNoCC,
sigtool,
cctools,
}:
let
stdenv = stdenvNoCC;
in
stdenv.mkDerivation {
name = "signing-utils";
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
substituteAll ${./utils.sh} $out
'';
# Substituted variables
env = {
inherit sigtool;
codesignAllocate = "${cctools}/bin/${cctools.targetPrefix}codesign_allocate";
};
}