mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 07:57:32 +03:00
25 lines
374 B
Nix
25 lines
374 B
Nix
|
{ 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
|
||
|
inherit sigtool;
|
||
|
codesignAllocate = "${cctools}/bin/${cctools.targetPrefix}codesign_allocate";
|
||
|
}
|